@agoric/internal 0.2.2-dev-ce7244d.0 → 0.2.2-dev-278a284.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/internal",
3
- "version": "0.2.2-dev-ce7244d.0+ce7244d",
3
+ "version": "0.2.2-dev-278a284.0+278a284",
4
4
  "description": "Externally unsupported utilities internal to agoric-sdk",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -37,5 +37,5 @@
37
37
  "publishConfig": {
38
38
  "access": "public"
39
39
  },
40
- "gitHead": "ce7244d6cf23f57e6de73b5d119e9681456fded7"
40
+ "gitHead": "278a284b2c98f84776779306bc514443cd03a021"
41
41
  }
@@ -0,0 +1,2 @@
1
+ export function notForProductionUse(): {};
2
+ //# sourceMappingURL=magic-cookie-test-only.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"magic-cookie-test-only.d.ts","sourceRoot":"","sources":["magic-cookie-test-only.js"],"names":[],"mappings":"AAMO,0CAEN"}
@@ -0,0 +1,9 @@
1
+ const cookie = harden({});
2
+
3
+ /**
4
+ * Facilitate static analysis to prevent
5
+ * demo/test facilities from being bundled in production.
6
+ */
7
+ export const notForProductionUse = () => {
8
+ return cookie;
9
+ };