backend-manager 5.0.79 → 5.0.80
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 +1 -1
- package/src/manager/helpers/user.js +14 -0
package/package.json
CHANGED
|
@@ -174,6 +174,20 @@ function User(Manager, settings, options) {
|
|
|
174
174
|
// timestampUNIX: getWithDefault(settings?.oauth2?.updated?.timestampUNIX, oldDateUNIX, defaults),
|
|
175
175
|
// },
|
|
176
176
|
},
|
|
177
|
+
attribution: {
|
|
178
|
+
affiliate: {
|
|
179
|
+
code: settings?.attribution?.affiliate?.code ?? null,
|
|
180
|
+
timestamp: settings?.attribution?.affiliate?.timestamp ?? null,
|
|
181
|
+
url: settings?.attribution?.affiliate?.url ?? null,
|
|
182
|
+
page: settings?.attribution?.affiliate?.page ?? null,
|
|
183
|
+
},
|
|
184
|
+
utm: {
|
|
185
|
+
tags: settings?.attribution?.utm?.tags ?? {},
|
|
186
|
+
timestamp: settings?.attribution?.utm?.timestamp ?? null,
|
|
187
|
+
url: settings?.attribution?.utm?.url ?? null,
|
|
188
|
+
page: settings?.attribution?.utm?.page ?? null,
|
|
189
|
+
},
|
|
190
|
+
},
|
|
177
191
|
}
|
|
178
192
|
|
|
179
193
|
if (options.prune) {
|