@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.
@@ -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.1",
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.0",
41
+ "@stytch/core": "2.23.1",
42
42
  "@types/google-one-tap": "^1.2.0",
43
43
  "type-fest": "4.15.0"
44
44
  },