@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 CHANGED
@@ -1201,8 +1201,8 @@ var ContextRegistrationBuffer = class {
1201
1201
  }
1202
1202
  this._seen.set(cacheKey, ctx.attributes);
1203
1203
  this._pending.push({
1204
- id: `${ctx.type}:${ctx.key}`,
1205
- name: ctx.name ?? ctx.key,
1204
+ type: ctx.type,
1205
+ key: ctx.key,
1206
1206
  attributes: { ...ctx.attributes }
1207
1207
  });
1208
1208
  }
@@ -1988,7 +1988,7 @@ var SmplClient = class {
1988
1988
  async _registerServiceContext() {
1989
1989
  try {
1990
1990
  await fetch(`${APP_BASE_URL2}/api/v1/contexts/bulk`, {
1991
- method: "PUT",
1991
+ method: "POST",
1992
1992
  headers: {
1993
1993
  Authorization: `Bearer ${this._apiKey}`,
1994
1994
  "Content-Type": "application/json"