@junobuild/admin 0.0.46 → 0.0.47
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/declarations/ic/ic.did.d.ts +1 -0
- package/declarations/mission_control/mission_control.did.d.ts +1 -0
- package/declarations/orbiter/orbiter.did.d.ts +1 -0
- package/declarations/satellite/satellite.did.d.ts +3 -0
- package/declarations/satellite/satellite.factory.did.js +2 -0
- package/declarations/satellite/satellite.factory.did.mjs +2 -0
- package/dist/browser/index.js +5 -5
- package/dist/browser/index.js.map +3 -3
- package/dist/declarations/ic/ic.did.d.ts +1 -0
- package/dist/declarations/mission_control/mission_control.did.d.ts +1 -0
- package/dist/declarations/orbiter/orbiter.did.d.ts +1 -0
- package/dist/declarations/satellite/satellite.did.d.ts +3 -0
- package/dist/declarations/satellite/satellite.factory.did.js +2 -0
- package/dist/declarations/satellite/satellite.factory.did.mjs +2 -0
- package/dist/node/index.mjs +6 -6
- package/dist/node/index.mjs.map +3 -3
- package/dist/types/utils/rule.utils.d.ts +1 -1
- package/package.json +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { MemoryText, PermissionText, Rule, RulesType } from '@junobuild/config';
|
|
2
2
|
import type { Memory, Permission, Rule as RuleApi, RulesType as RulesTypeApi, SetRule } from '../../declarations/satellite/satellite.did';
|
|
3
3
|
export declare const mapRuleType: (type: RulesType) => RulesTypeApi;
|
|
4
|
-
export declare const mapSetRule: ({ read, write, memory,
|
|
4
|
+
export declare const mapSetRule: ({ read, write, memory, maxSize, maxCapacity, updatedAt, mutablePermissions }: Pick<Rule, 'read' | 'write' | 'maxSize' | 'maxCapacity' | 'updatedAt' | 'memory' | 'mutablePermissions'>) => SetRule;
|
|
5
5
|
export declare const mapRule: ([collection, rule]: [string, RuleApi]) => Rule;
|
|
6
6
|
export declare const permissionToText: (permission: Permission) => PermissionText;
|
|
7
7
|
export declare const memoryFromText: (text: MemoryText) => Memory;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@junobuild/admin",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.47",
|
|
4
4
|
"description": "A library for interfacing with admin features of Juno",
|
|
5
5
|
"author": "David Dal Busco (https://daviddalbusco.com)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
],
|
|
52
52
|
"homepage": "https://juno.build",
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"@dfinity/agent": "^1.0
|
|
55
|
-
"@dfinity/identity": "^1.0
|
|
56
|
-
"@dfinity/principal": "^1.0
|
|
54
|
+
"@dfinity/agent": "^1.2.0",
|
|
55
|
+
"@dfinity/identity": "^1.2.0",
|
|
56
|
+
"@dfinity/principal": "^1.2.0",
|
|
57
57
|
"@junobuild/config": "*",
|
|
58
58
|
"@junobuild/utils": "*",
|
|
59
59
|
"semver": "7.*"
|