@smplkit/sdk 1.3.0 → 1.3.1

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.js CHANGED
@@ -1579,7 +1579,8 @@ var FlagsClient = class {
1579
1579
  await this._appHttp.POST("/api/v1/contexts/bulk", {
1580
1580
  body: {
1581
1581
  contexts: batch.map((ctx) => ({
1582
- id: `${ctx.type}:${ctx.key}`,
1582
+ type: ctx.type,
1583
+ key: ctx.key,
1583
1584
  attributes: ctx.attributes
1584
1585
  }))
1585
1586
  }
@@ -1891,7 +1892,8 @@ var SmplClient = class {
1891
1892
  body: {
1892
1893
  contexts: [
1893
1894
  {
1894
- id: `service:${this._service}`,
1895
+ type: "service",
1896
+ key: this._service,
1895
1897
  attributes: { name: this._service }
1896
1898
  }
1897
1899
  ]