sr-npm 1.7.310 → 1.7.312

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/public/utils.js +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.310",
3
+ "version": "1.7.312",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/public/utils.js CHANGED
@@ -3,7 +3,8 @@ const { secrets } = require("@wix/secrets");
3
3
 
4
4
 
5
5
  async function getServerlessAuth() {
6
- const serverlessAuth = await secrets.getSecret("serverless_auth")
6
+ const serverlessAuth = await secrets.getSecretValue("serverless_auth")
7
+ console.log("serverlessAuth **********",serverlessAuth)
7
8
  return serverlessAuth;
8
9
 
9
10
  }
@@ -46,6 +47,8 @@ async function htmlToRichContent(htmlString) {
46
47
  },
47
48
  body: raw
48
49
  };
50
+
51
+ console.log("requestOptions **********",requestOptions)
49
52
 
50
53
  try{
51
54
  const response = await fetch("https://www.wixapis.com/data-sync/v1/abmp-content-converter", requestOptions);