@cocreate/authorize 1.13.1 → 1.13.3

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/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [1.13.3](https://github.com/CoCreate-app/CoCreate-authorize/compare/v1.13.2...v1.13.3) (2024-02-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Removed https://cdn.cocreate.app/latest/CoCreate.min.css ([43cb53f](https://github.com/CoCreate-app/CoCreate-authorize/commit/43cb53f2c63bf2768fe2bb013cb2001bc0972194))
7
+
8
+ ## [1.13.2](https://github.com/CoCreate-app/CoCreate-authorize/compare/v1.13.1...v1.13.2) (2024-01-30)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * replaced this.user with $user_id ([4b3c672](https://github.com/CoCreate-app/CoCreate-authorize/commit/4b3c672fce83d96729900e2be08c93d4c36c97f8))
14
+
1
15
  ## [1.13.1](https://github.com/CoCreate-app/CoCreate-authorize/compare/v1.13.0...v1.13.1) (2024-01-17)
2
16
 
3
17
 
package/docs/index.html CHANGED
@@ -18,12 +18,6 @@
18
18
  content="helper classes, utility classes, css framework, css library, inline style classes" />
19
19
  <meta name="robots" content="index,follow" />
20
20
 
21
- <!-- CoCreate CSS -->
22
- <link
23
- rel="stylesheet"
24
- href="https://cdn.cocreate.app/latest/CoCreate.min.css"
25
- type="text/css" />
26
-
27
21
  <link rel="manifest" href="/manifest.json" />
28
22
  </head>
29
23
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/authorize",
3
- "version": "1.13.1",
3
+ "version": "1.13.3",
4
4
  "description": "A simple authorize component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "authorize",
package/src/index.js CHANGED
@@ -232,7 +232,7 @@
232
232
  }
233
233
 
234
234
  async function checkMethodOperators(data, key, value) {
235
- if (value === 'this.userId' && data.socket)
235
+ if (value === '$user_Id' && data.socket)
236
236
  value = data.socket.user_id || data.user_id
237
237
 
238
238
  // TODO: support our standard query system