@ensforge/core 0.0.0 → 0.1.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.
|
@@ -64,7 +64,7 @@ declare const getMigrationEligibility: EnsReadAction<GetMigrationEligibilityPara
|
|
|
64
64
|
readonly account: `0x${string}`;
|
|
65
65
|
readonly owner: `0x${string}` | null;
|
|
66
66
|
readonly authorized: boolean;
|
|
67
|
-
readonly blockers: readonly ("
|
|
67
|
+
readonly blockers: readonly ("PARENT_NOT_MIGRATED" | "ENSV2_NOT_ACTIVE" | "NOT_ETH_NAME" | "NAME_NOT_RESERVED" | "NAME_ALREADY_MIGRATED" | "NAME_AVAILABLE" | "ACCOUNT_NOT_OWNER_OR_OPERATOR" | "INVALID_WRAPPER_STATE" | "FROZEN_TOKEN_APPROVAL" | "TRANSFER_DISABLED")[];
|
|
68
68
|
}, GetNameStateError>;
|
|
69
69
|
//#endregion
|
|
70
70
|
export { type MigrationReadError as GetMigrationEligibilityError, GetMigrationEligibilityParameters, getMigrationEligibility };
|
|
@@ -14,7 +14,7 @@ type GetMigrationPlanParameters = MigrationNameParameters & {
|
|
|
14
14
|
declare const getMigrationPlan: EnsReadAction<GetMigrationPlanParameters, {
|
|
15
15
|
readonly status: "unsupported";
|
|
16
16
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
17
|
-
readonly blockers: readonly ("
|
|
17
|
+
readonly blockers: readonly ("PARENT_NOT_MIGRATED" | "ENSV2_NOT_ACTIVE" | "NOT_ETH_NAME" | "NAME_NOT_RESERVED" | "NAME_ALREADY_MIGRATED" | "NAME_AVAILABLE" | "ACCOUNT_NOT_OWNER_OR_OPERATOR" | "INVALID_WRAPPER_STATE" | "FROZEN_TOKEN_APPROVAL" | "TRANSFER_DISABLED")[];
|
|
18
18
|
} | {
|
|
19
19
|
readonly status: "not-required";
|
|
20
20
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
@@ -22,7 +22,7 @@ declare const getMigrationPlan: EnsReadAction<GetMigrationPlanParameters, {
|
|
|
22
22
|
} | {
|
|
23
23
|
readonly status: "blocked";
|
|
24
24
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
25
|
-
readonly blockers: readonly ("
|
|
25
|
+
readonly blockers: readonly ("PARENT_NOT_MIGRATED" | "ENSV2_NOT_ACTIVE" | "NOT_ETH_NAME" | "NAME_NOT_RESERVED" | "NAME_ALREADY_MIGRATED" | "NAME_AVAILABLE" | "ACCOUNT_NOT_OWNER_OR_OPERATOR" | "INVALID_WRAPPER_STATE" | "FROZEN_TOKEN_APPROVAL" | "TRANSFER_DISABLED")[];
|
|
26
26
|
} | {
|
|
27
27
|
readonly status: "authorization-required";
|
|
28
28
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ensforge/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "Type-safe actions and utilities for ENS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ens",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@ensdomains/content-hash": "3.1.1",
|
|
42
42
|
"cborg": "6.1.1",
|
|
43
43
|
"fflate": "0.8.3",
|
|
44
|
-
"@ensforge/contracts": "0.
|
|
44
|
+
"@ensforge/contracts": "0.1.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"effect": "^4.0.0-rc.112",
|