@stytch/vanilla-js 4.18.1 → 4.18.2
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 +7 -0
- package/dist/adminPortal/index.esm.js +1 -1
- package/dist/adminPortal/index.js +1 -1
- package/dist/b2b/index.esm.js +3 -3
- package/dist/b2b/index.headless.esm.js +3 -3
- package/dist/b2b/index.headless.js +2 -2
- package/dist/b2b/index.js +2 -2
- package/dist/{extractErrorMessage-Dych62MV.js → extractErrorMessage-CTyceZDG.js} +1 -1
- package/dist/{extractErrorMessage-Brjz_Ao3.js → extractErrorMessage-CmRxJsmS.js} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.headless.esm.js +1 -1
- package/dist/index.headless.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{internal-BGVqdmgu.js → internal-BwJCD84k.js} +1 -1
- package/dist/{internal-BsR6Lpc6.js → internal-_L9abnhs.js} +1 -1
- package/package.json +2 -2
|
@@ -5296,7 +5296,7 @@ var RBACPolicy = /*#__PURE__*/function () {
|
|
|
5296
5296
|
key: "allPermissionsForCaller",
|
|
5297
5297
|
value: function allPermissionsForCaller(memberRoles) {
|
|
5298
5298
|
var _this36 = this;
|
|
5299
|
-
var allPermsMap =
|
|
5299
|
+
var allPermsMap = Object.create(null);
|
|
5300
5300
|
this.resources.forEach(function (resource) {
|
|
5301
5301
|
allPermsMap[resource.resource_id] = {};
|
|
5302
5302
|
resource.actions.forEach(function (action) {
|
|
@@ -5294,7 +5294,7 @@ var RBACPolicy = /*#__PURE__*/function () {
|
|
|
5294
5294
|
key: "allPermissionsForCaller",
|
|
5295
5295
|
value: function allPermissionsForCaller(memberRoles) {
|
|
5296
5296
|
var _this36 = this;
|
|
5297
|
-
var allPermsMap =
|
|
5297
|
+
var allPermsMap = Object.create(null);
|
|
5298
5298
|
this.resources.forEach(function (resource) {
|
|
5299
5299
|
allPermsMap[resource.resource_id] = {};
|
|
5300
5300
|
resource.actions.forEach(function (action) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stytch/vanilla-js",
|
|
3
|
-
"version": "4.18.
|
|
3
|
+
"version": "4.18.2",
|
|
4
4
|
"description": "Stytch's official Javascript Client Library",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.esm.js",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"hoistingLimits": "workspaces"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@stytch/core": "2.23.
|
|
41
|
+
"@stytch/core": "2.23.1",
|
|
42
42
|
"@types/google-one-tap": "^1.2.0",
|
|
43
43
|
"type-fest": "4.15.0"
|
|
44
44
|
},
|