sr-npm 1.7.17 → 1.7.18

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/backend/data.js +2 -1
  2. package/package.json +1 -1
package/backend/data.js CHANGED
@@ -337,9 +337,10 @@ async function createApiKeyCollectionAndFillIt() {
337
337
  await createCollectionIfMissing(COLLECTIONS.API_KEY, COLLECTIONS_FIELDS.API_KEY);
338
338
  console.log("Getting the smart token");
339
339
  const token = await getSmartToken();
340
+ console.log("token is : ", token);
340
341
  console.log("Inserting the smart token into the ApiKey collection");
341
342
  await wixData.insert("ApiKey", {
342
- token: token
343
+ token: token.value
343
344
  });
344
345
 
345
346
  console.log("Smart token inserted into the ApiKey collection");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.17",
3
+ "version": "1.7.18",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {