abmp-npm 1.8.9 → 1.8.11
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const { location:
|
|
2
|
-
const { storage:
|
|
3
|
-
const { window:
|
|
1
|
+
const { location: wixLocation } = require('@wix/site-location');
|
|
2
|
+
const { storage: wixStorage } = require('@wix/site-storage');
|
|
3
|
+
const { window: wixWindow } = require('@wix/site-window');
|
|
4
4
|
const _ = require('lodash');
|
|
5
5
|
|
|
6
6
|
const {
|
|
@@ -62,11 +62,8 @@ async function personalDetailsFormOnReady({
|
|
|
62
62
|
saveRegistrationData,
|
|
63
63
|
validateMemberToken,
|
|
64
64
|
checkUrlUniqueness,
|
|
65
|
+
query = {}, // Query params passed from host page
|
|
65
66
|
}) {
|
|
66
|
-
// Initialize Wix SDK modules
|
|
67
|
-
const wixLocation = wixLocationModule();
|
|
68
|
-
const wixStorage = wixStorageModule();
|
|
69
|
-
const wixWindow = wixWindowModule();
|
|
70
67
|
|
|
71
68
|
let itemMemberObj = {};
|
|
72
69
|
let originalMemberData = {};
|
|
@@ -107,8 +104,7 @@ async function personalDetailsFormOnReady({
|
|
|
107
104
|
};
|
|
108
105
|
|
|
109
106
|
// Main initialization
|
|
110
|
-
|
|
111
|
-
console.log('wixLocation.query', query);
|
|
107
|
+
console.log('query', query);
|
|
112
108
|
const memberTokenId = query.token;
|
|
113
109
|
console.log('memberTokenId', memberTokenId);
|
|
114
110
|
if (!memberTokenId) {
|