@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/README.md +2 -0
- package/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# smplkit TypeScript SDK
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@smplkit/sdk) [](https://github.com/smplkit/typescript-sdk/actions) [](https://codecov.io/gh/smplkit/typescript-sdk) [](LICENSE) [](https://docs.smplkit.com)
|
|
4
|
+
|
|
3
5
|
The official TypeScript SDK for [smplkit](https://www.smplkit.com) — simple application infrastructure that just works.
|
|
4
6
|
|
|
5
7
|
## Installation
|
package/dist/index.cjs
CHANGED
|
@@ -1636,7 +1636,8 @@ var FlagsClient = class {
|
|
|
1636
1636
|
await this._appHttp.POST("/api/v1/contexts/bulk", {
|
|
1637
1637
|
body: {
|
|
1638
1638
|
contexts: batch.map((ctx) => ({
|
|
1639
|
-
|
|
1639
|
+
type: ctx.type,
|
|
1640
|
+
key: ctx.key,
|
|
1640
1641
|
attributes: ctx.attributes
|
|
1641
1642
|
}))
|
|
1642
1643
|
}
|
|
@@ -1948,7 +1949,8 @@ var SmplClient = class {
|
|
|
1948
1949
|
body: {
|
|
1949
1950
|
contexts: [
|
|
1950
1951
|
{
|
|
1951
|
-
|
|
1952
|
+
type: "service",
|
|
1953
|
+
key: this._service,
|
|
1952
1954
|
attributes: { name: this._service }
|
|
1953
1955
|
}
|
|
1954
1956
|
]
|