From 0be080132240c70e5dd5f4ad0f8b6611a1bb300b Mon Sep 17 00:00:00 2001 From: ciaranRoche Date: Thu, 24 Jan 2019 19:52:53 +0000 Subject: [PATCH] update temp to match js sdk --- cmd/init.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/init.go b/cmd/init.go index 9c5727c..1f8abbf 100644 --- a/cmd/init.go +++ b/cmd/init.go @@ -86,7 +86,7 @@ func initializeFunction(function *Function) { fmt.Println("Function can not be bootstrapped in a non empty direcctory: " + function.AbsPath()) } - jSTemplate := `const r3x = require('@rubixfunctions/r3x-js-sdk/dist/src/r3x') + jSTemplate := `const r3x = require('@rubixfunctions/r3x-js-sdk') let schema r3x.execute(function(){ @@ -154,7 +154,7 @@ func createPackageJSON(function *Function) { "serverless" ], "dependencies": { - "@rubixfunctions/r3x-js-sdk": "0.0.7" + "@rubixfunctions/r3x-js-sdk": "0.0.9" } } `