@smplkit/sdk 1.2.6 → 1.2.7
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/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1144,8 +1144,8 @@ var ContextRegistrationBuffer = class {
|
|
|
1144
1144
|
}
|
|
1145
1145
|
this._seen.set(cacheKey, ctx.attributes);
|
|
1146
1146
|
this._pending.push({
|
|
1147
|
-
|
|
1148
|
-
|
|
1147
|
+
type: ctx.type,
|
|
1148
|
+
key: ctx.key,
|
|
1149
1149
|
attributes: { ...ctx.attributes }
|
|
1150
1150
|
});
|
|
1151
1151
|
}
|
|
@@ -1931,7 +1931,7 @@ var SmplClient = class {
|
|
|
1931
1931
|
async _registerServiceContext() {
|
|
1932
1932
|
try {
|
|
1933
1933
|
await fetch(`${APP_BASE_URL2}/api/v1/contexts/bulk`, {
|
|
1934
|
-
method: "
|
|
1934
|
+
method: "POST",
|
|
1935
1935
|
headers: {
|
|
1936
1936
|
Authorization: `Bearer ${this._apiKey}`,
|
|
1937
1937
|
"Content-Type": "application/json"
|