@agoric/internal 0.3.3-dev-d1a4a53.0 → 0.3.3-dev-872bb3b.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 +6 -6
- package/src/action-types.d.ts +1 -0
- package/src/action-types.d.ts.map +1 -1
- package/src/action-types.js +1 -0
- package/src/typeGuards.d.ts +2 -0
- package/src/typeGuards.d.ts.map +1 -1
- package/src/typeGuards.js +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/internal",
|
|
3
|
-
"version": "0.3.3-dev-
|
|
3
|
+
"version": "0.3.3-dev-872bb3b.0+872bb3b",
|
|
4
4
|
"description": "Externally unsupported utilities internal to agoric-sdk",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
11
|
"build": "exit 0",
|
|
12
|
-
"prepack": "tsc --build
|
|
12
|
+
"prepack": "tsc --build tsconfig.build.json",
|
|
13
13
|
"postpack": "git clean -f '*.d.ts*'",
|
|
14
14
|
"test": "ava",
|
|
15
15
|
"test:nyc": "exit 0",
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
"lint-fix": "yarn lint:eslint --fix",
|
|
18
18
|
"lint": "run-s --continue-on-error lint:*",
|
|
19
19
|
"lint:eslint": "eslint .",
|
|
20
|
-
"lint:types": "tsc
|
|
20
|
+
"lint:types": "tsc"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@agoric/assert": "0.6.1-dev-
|
|
24
|
-
"@agoric/base-zone": "0.1.1-dev-
|
|
23
|
+
"@agoric/assert": "0.6.1-dev-872bb3b.0+872bb3b",
|
|
24
|
+
"@agoric/base-zone": "0.1.1-dev-872bb3b.0+872bb3b",
|
|
25
25
|
"@endo/far": "^0.2.19",
|
|
26
26
|
"@endo/init": "^0.5.57",
|
|
27
27
|
"@endo/marshal": "^0.8.6",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "872bb3be25122001190a35d0155d942315c81238"
|
|
48
48
|
}
|
package/src/action-types.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export const AG_COSMOS_INIT: "AG_COSMOS_INIT";
|
|
2
2
|
export const SWING_STORE_EXPORT: "SWING_STORE_EXPORT";
|
|
3
|
+
export const ENACTED_UPGRADE: "ENACTED_UPGRADE";
|
|
3
4
|
export const BEGIN_BLOCK: "BEGIN_BLOCK";
|
|
4
5
|
export const CALCULATE_FEES_IN_BEANS: "CALCULATE_FEES_IN_BEANS";
|
|
5
6
|
export const CORE_EVAL: "CORE_EVAL";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-types.d.ts","sourceRoot":"","sources":["action-types.js"],"names":[],"mappings":"AAEA,8CAA+C;AAC/C,sDAAuD;AACvD,wCAAyC;AACzC,gEAAiE;AACjE,oCAAqC;AACrC,gDAAiD;AACjD,oCAAqC;AACrC,0CAA2C;AAC3C,sDAAuD;AACvD,oCAAqC;AACrC,kDAAmD;AACnD,0DAA2D;AAC3D,4CAA6C;AAC7C,wDAAyD;AACzD,8CAA+C"}
|
|
1
|
+
{"version":3,"file":"action-types.d.ts","sourceRoot":"","sources":["action-types.js"],"names":[],"mappings":"AAEA,8CAA+C;AAC/C,sDAAuD;AACvD,gDAAiD;AACjD,wCAAyC;AACzC,gEAAiE;AACjE,oCAAqC;AACrC,gDAAiD;AACjD,oCAAqC;AACrC,0CAA2C;AAC3C,sDAAuD;AACvD,oCAAqC;AACrC,kDAAmD;AACnD,0DAA2D;AAC3D,4CAA6C;AAC7C,wDAAyD;AACzD,8CAA+C"}
|
package/src/action-types.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
export const AG_COSMOS_INIT = 'AG_COSMOS_INIT';
|
|
4
4
|
export const SWING_STORE_EXPORT = 'SWING_STORE_EXPORT';
|
|
5
|
+
export const ENACTED_UPGRADE = 'ENACTED_UPGRADE';
|
|
5
6
|
export const BEGIN_BLOCK = 'BEGIN_BLOCK';
|
|
6
7
|
export const CALCULATE_FEES_IN_BEANS = 'CALCULATE_FEES_IN_BEANS';
|
|
7
8
|
export const CORE_EVAL = 'CORE_EVAL';
|
package/src/typeGuards.d.ts
CHANGED
package/src/typeGuards.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeGuards.d.ts","sourceRoot":"","sources":["typeGuards.js"],"names":[],"mappings":"AAIA,gEAA2D"}
|
|
1
|
+
{"version":3,"file":"typeGuards.d.ts","sourceRoot":"","sources":["typeGuards.js"],"names":[],"mappings":"AAIA,gEAA2D;AAE3D,iFAAiF;AACjF,4EAKE"}
|
package/src/typeGuards.js
CHANGED
|
@@ -3,3 +3,11 @@
|
|
|
3
3
|
import { M } from '@endo/patterns';
|
|
4
4
|
|
|
5
5
|
export const StorageNodeShape = M.remotable('StorageNode');
|
|
6
|
+
|
|
7
|
+
/** To be used only for 'helper' facets where the calls are from trusted code. */
|
|
8
|
+
export const UnguardedHelperI = M.interface(
|
|
9
|
+
'helper',
|
|
10
|
+
{},
|
|
11
|
+
// not exposed so sloppy okay
|
|
12
|
+
{ sloppy: true },
|
|
13
|
+
);
|