@poe-platform/safe-js 0.1.473 → 0.1.474

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.
@@ -10321,21 +10321,19 @@ function createObjectGlobal(methods3, budget) {
10321
10321
  sandbox: true,
10322
10322
  name: "hasOwnProperty",
10323
10323
  length: 1,
10324
- call: async ([key], context) => hasOwnSandboxProperty(
10325
- requireReceiver(context?.thisValue),
10326
- await toPropertyKey(key, budget, context),
10327
- false
10328
- )
10324
+ call: async ([key], context) => {
10325
+ const property = await toPropertyKey(key, budget, context);
10326
+ return hasOwnSandboxProperty(context?.thisValue, property, false);
10327
+ }
10329
10328
  }),
10330
10329
  propertyIsEnumerable: createSandboxClosure({
10331
10330
  sandbox: true,
10332
10331
  name: "propertyIsEnumerable",
10333
10332
  length: 1,
10334
- call: async ([key], context) => hasOwnSandboxProperty(
10335
- requireReceiver(context?.thisValue),
10336
- await toPropertyKey(key, budget, context),
10337
- true
10338
- )
10333
+ call: async ([key], context) => {
10334
+ const property = await toPropertyKey(key, budget, context);
10335
+ return hasOwnSandboxProperty(context?.thisValue, property, true);
10336
+ }
10339
10337
  }),
10340
10338
  isPrototypeOf: createSandboxClosure({
10341
10339
  sandbox: true,
@@ -57145,4 +57143,4 @@ authorization of the copyright holder.
57145
57143
  SPDX-License-Identifier: Unicode-3.0
57146
57144
 
57147
57145
  */
57148
- //# sourceMappingURL=chunk-LXNXNWYD.js.map
57146
+ //# sourceMappingURL=chunk-CGSXGKIZ.js.map