@twin.org/context 0.0.3-next.23 → 0.0.3-next.24

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/docs/changelog.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.3-next.24](https://github.com/twinfoundation/framework/compare/context-v0.0.3-next.23...context-v0.0.3-next.24) (2026-03-19)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * ensure __decorate is defined for decorators ([103a563](https://github.com/twinfoundation/framework/commit/103a563ce01ebdef6240d2e590e7b026e8692684))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/core bumped from 0.0.3-next.23 to 0.0.3-next.24
16
+ * @twin.org/nameof bumped from 0.0.3-next.23 to 0.0.3-next.24
17
+ * devDependencies
18
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.23 to 0.0.3-next.24
19
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.23 to 0.0.3-next.24
20
+ * @twin.org/validate-locales bumped from 0.0.3-next.23 to 0.0.3-next.24
21
+
3
22
  ## [0.0.3-next.23](https://github.com/twinfoundation/framework/compare/context-v0.0.3-next.22...context-v0.0.3-next.23) (2026-03-17)
4
23
 
5
24
 
@@ -42,9 +42,9 @@ Perform a runtime guard on the provided context ID value.
42
42
 
43
43
  ##### contextIds
44
44
 
45
- The context IDs to guard.
45
+ `T` \| `undefined`
46
46
 
47
- `T` | `undefined`
47
+ The context IDs to guard.
48
48
 
49
49
  ##### key
50
50
 
@@ -72,9 +72,9 @@ Gets the short version of a context ID.
72
72
 
73
73
  ##### contextIds
74
74
 
75
- The context IDs to get the short version from.
75
+ [`IContextIds`](../interfaces/IContextIds.md) \| `undefined`
76
76
 
77
- [`IContextIds`](../interfaces/IContextIds.md) | `undefined`
77
+ The context IDs to get the short version from.
78
78
 
79
79
  ##### key
80
80
 
@@ -114,15 +114,15 @@ Perform a runtime guard on the provided context ID values.
114
114
 
115
115
  ##### contextIds
116
116
 
117
- The context IDs to guard.
117
+ `T` \| `undefined`
118
118
 
119
- `T` | `undefined`
119
+ The context IDs to guard.
120
120
 
121
121
  ##### keys
122
122
 
123
- The context ID keys to guard.
123
+ readonly `K`[] \| `undefined`
124
124
 
125
- readonly `K`[] | `undefined`
125
+ The context ID keys to guard.
126
126
 
127
127
  #### Returns
128
128
 
@@ -144,15 +144,15 @@ Gets the short versions of multiple context IDs.
144
144
 
145
145
  ##### contextIds
146
146
 
147
- The context IDs to get the short versions from.
147
+ [`IContextIds`](../interfaces/IContextIds.md) \| `undefined`
148
148
 
149
- [`IContextIds`](../interfaces/IContextIds.md) | `undefined`
149
+ The context IDs to get the short versions from.
150
150
 
151
151
  ##### keys
152
152
 
153
- The context ID keys to get the short versions for.
153
+ `string`[] \| `undefined`
154
154
 
155
- `string`[] | `undefined`
155
+ The context ID keys to get the short versions for.
156
156
 
157
157
  #### Returns
158
158
 
@@ -172,15 +172,15 @@ Gets the combined short version.
172
172
 
173
173
  ##### contextIds
174
174
 
175
- The context IDs to get the short versions from.
175
+ [`IContextIds`](../interfaces/IContextIds.md) \| `undefined`
176
176
 
177
- [`IContextIds`](../interfaces/IContextIds.md) | `undefined`
177
+ The context IDs to get the short versions from.
178
178
 
179
179
  ##### keys
180
180
 
181
- The context ID keys to get the short versions for.
181
+ `string`[] \| `undefined`
182
182
 
183
- `string`[] | `undefined`
183
+ The context ID keys to get the short versions for.
184
184
 
185
185
  ##### separator?
186
186
 
@@ -244,15 +244,15 @@ Create a combined key.
244
244
 
245
245
  ##### contextIds
246
246
 
247
- The context IDs to create the combined key for.
247
+ [`IContextIds`](../interfaces/IContextIds.md) \| `undefined`
248
248
 
249
- [`IContextIds`](../interfaces/IContextIds.md) | `undefined`
249
+ The context IDs to create the combined key for.
250
250
 
251
251
  ##### keys
252
252
 
253
- The context ID keys to get the short versions for.
253
+ `string`[] \| `undefined`
254
254
 
255
- `string`[] | `undefined`
255
+ The context ID keys to get the short versions for.
256
256
 
257
257
  ##### separator?
258
258
 
@@ -4,6 +4,6 @@ Interface describing context ids which can be accessed async from a request.
4
4
 
5
5
  ## Indexable
6
6
 
7
- \[`id`: `string`\]: `string` \| `undefined`
7
+ > \[`id`: `string`\]: `string` \| `undefined`
8
8
 
9
9
  The context id keys and values.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/context",
3
- "version": "0.0.3-next.23",
3
+ "version": "0.0.3-next.24",
4
4
  "description": "Helper methods/classes for context handling",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,8 +14,8 @@
14
14
  "node": ">=20.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@twin.org/core": "0.0.3-next.23",
18
- "@twin.org/nameof": "0.0.3-next.23"
17
+ "@twin.org/core": "0.0.3-next.24",
18
+ "@twin.org/nameof": "0.0.3-next.24"
19
19
  },
20
20
  "main": "./dist/es/index.js",
21
21
  "types": "./dist/types/index.d.ts",