@xeno-js/shared 0.1.4 → 0.1.5

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.d.cts CHANGED
@@ -2167,6 +2167,15 @@ interface Metadata {
2167
2167
  * @link https://github.com/xeno-js/xeno-js
2168
2168
  */
2169
2169
  readonly csrf: Optional<string>;
2170
+ /**
2171
+ * @description An optional CSRF cookie for preventing cross-site request forgery attacks.
2172
+ *
2173
+ * @author Xeno
2174
+ * @version 1.0.0
2175
+ * @since 2025-09-30
2176
+ * @link https://github.com/xeno-js/xeno-js
2177
+ */
2178
+ readonly csrfCookie: Optional<string>;
2170
2179
  /** An optional origin for the request, which can be used for security and access control purposes.
2171
2180
  *
2172
2181
  * @author Xeno
package/dist/index.d.ts CHANGED
@@ -2167,6 +2167,15 @@ interface Metadata {
2167
2167
  * @link https://github.com/xeno-js/xeno-js
2168
2168
  */
2169
2169
  readonly csrf: Optional<string>;
2170
+ /**
2171
+ * @description An optional CSRF cookie for preventing cross-site request forgery attacks.
2172
+ *
2173
+ * @author Xeno
2174
+ * @version 1.0.0
2175
+ * @since 2025-09-30
2176
+ * @link https://github.com/xeno-js/xeno-js
2177
+ */
2178
+ readonly csrfCookie: Optional<string>;
2170
2179
  /** An optional origin for the request, which can be used for security and access control purposes.
2171
2180
  *
2172
2181
  * @author Xeno
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xeno-js/shared",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Xeno shared npm package",
5
5
  "repository": {
6
6
  "type": "git",