@abtnode/auth 1.16.52-beta-20250928-042319-ff3f0e04 → 1.16.52-beta-20251002-030549-0f91dab2
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/locales/en.js +80 -80
- package/package.json +20 -20
package/locales/en.js
CHANGED
|
@@ -1,92 +1,92 @@
|
|
|
1
1
|
/* eslint-disable prettier/prettier */
|
|
2
2
|
module.exports = {
|
|
3
|
-
description: 'Connect your
|
|
4
|
-
requestProfile: '
|
|
5
|
-
requestDidSpace: '
|
|
6
|
-
requestNFT: '
|
|
7
|
-
requestCredential: '
|
|
8
|
-
requestPassport: '
|
|
9
|
-
requestOwnerPassport: '
|
|
10
|
-
requestBlockletNft: '
|
|
11
|
-
receivePassport: '
|
|
12
|
-
requestEmailKyc: '
|
|
13
|
-
receiveEmailKyc: '
|
|
14
|
-
requestPhoneKyc: '
|
|
15
|
-
receivePhoneKyc: '
|
|
16
|
-
actionForbidden: 'You
|
|
17
|
-
notInitialized: 'This
|
|
18
|
-
appNotInitialized: 'This application
|
|
19
|
-
alreadyInitiated: 'This
|
|
20
|
-
notAllowed: 'You
|
|
21
|
-
notAllowedAppUser: '
|
|
22
|
-
notInvited: '
|
|
23
|
-
notAppOwner: '
|
|
24
|
-
notSupported: 'This application
|
|
25
|
-
notEnabled: '
|
|
26
|
-
missingPassport: 'Passport
|
|
27
|
-
missingEmailKyc: 'Email verification NFT
|
|
28
|
-
noKycRequired: '
|
|
29
|
-
emailAlreadyUsed: '
|
|
30
|
-
emailMismatch: 'Email
|
|
31
|
-
emailBlocked: '
|
|
32
|
-
missingPhoneKyc: 'Phone verification NFT
|
|
33
|
-
phoneAlreadyUsed: '
|
|
34
|
-
phoneMismatch: 'Phone
|
|
35
|
-
missingBlockletCredentialClaim: 'Blocklet credential
|
|
36
|
-
missingChallenge: 'Credential
|
|
37
|
-
invalidCredentialHolder: '
|
|
38
|
-
invalidCredentialProof: '
|
|
3
|
+
description: 'Connect your wallet',
|
|
4
|
+
requestProfile: 'Provide the following information to continue',
|
|
5
|
+
requestDidSpace: 'Authorize DID Spaces to continue',
|
|
6
|
+
requestNFT: 'Present your NFT to get a passport',
|
|
7
|
+
requestCredential: 'Provide your credential',
|
|
8
|
+
requestPassport: 'Provide your passport',
|
|
9
|
+
requestOwnerPassport: 'Provide owner passport',
|
|
10
|
+
requestBlockletNft: 'Provide Blocklet Purchase NFT',
|
|
11
|
+
receivePassport: 'Sign to claim your passport',
|
|
12
|
+
requestEmailKyc: 'Provide email verification NFT',
|
|
13
|
+
receiveEmailKyc: 'Sign to claim email verification NFT',
|
|
14
|
+
requestPhoneKyc: 'Provide phone verification NFT',
|
|
15
|
+
receivePhoneKyc: 'Sign to claim phone verification NFT',
|
|
16
|
+
actionForbidden: 'You don\'t have permission for this action',
|
|
17
|
+
notInitialized: 'This server isn\'t set up yet. Login is unavailable.',
|
|
18
|
+
appNotInitialized: 'This application isn\'t set up yet',
|
|
19
|
+
alreadyInitiated: 'This server already has an owner',
|
|
20
|
+
notAllowed: 'You don\'t have access to this server',
|
|
21
|
+
notAllowedAppUser: 'Your access to this app has been revoked',
|
|
22
|
+
notInvited: 'This app is invite-only. Please request an invitation.',
|
|
23
|
+
notAppOwner: 'Only the app owner can access this',
|
|
24
|
+
notSupported: 'This application isn\'t supported on this server',
|
|
25
|
+
notEnabled: 'This feature isn\'t enabled',
|
|
26
|
+
missingPassport: 'Passport required',
|
|
27
|
+
missingEmailKyc: 'Email verification NFT required',
|
|
28
|
+
noKycRequired: 'Email verification not required or already complete',
|
|
29
|
+
emailAlreadyUsed: 'This email is already in use',
|
|
30
|
+
emailMismatch: 'Email doesn\'t match your verification NFT',
|
|
31
|
+
emailBlocked: 'This email domain isn\'t allowed',
|
|
32
|
+
missingPhoneKyc: 'Phone verification NFT required',
|
|
33
|
+
phoneAlreadyUsed: 'This phone number is already in use',
|
|
34
|
+
phoneMismatch: 'Phone number doesn\'t match your verification NFT',
|
|
35
|
+
missingBlockletCredentialClaim: 'Blocklet credential required',
|
|
36
|
+
missingChallenge: 'Credential is missing a valid challenge',
|
|
37
|
+
invalidCredentialHolder: 'Credential holder is invalid',
|
|
38
|
+
invalidCredentialProof: 'Credential signature is invalid',
|
|
39
39
|
notOwner:
|
|
40
|
-
'
|
|
41
|
-
userMismatch: '
|
|
42
|
-
lowVersion: 'Your
|
|
43
|
-
unKnownStatus: '
|
|
44
|
-
statusNotFound: '
|
|
40
|
+
'This passport belongs to a different account. Use the wallet that owns this passport.',
|
|
41
|
+
userMismatch: 'Account mismatch. Use your connected wallet to continue.',
|
|
42
|
+
lowVersion: 'Your wallet version is outdated. Please update to the latest version.',
|
|
43
|
+
unKnownStatus: 'Unknown status',
|
|
44
|
+
statusNotFound: 'Status not found',
|
|
45
45
|
statusLabel: 'Status',
|
|
46
46
|
passportNotFound: 'Passport not found',
|
|
47
|
-
passportExpired: '
|
|
48
|
-
passportRevoked: '
|
|
49
|
-
noPassportFound: '
|
|
47
|
+
passportExpired: 'Your passport has expired',
|
|
48
|
+
passportRevoked: 'Your passport has been revoked',
|
|
49
|
+
noPassportFound: 'You don\'t have a valid passport for this blocklet',
|
|
50
50
|
userNotFound: 'User not found',
|
|
51
|
-
notAuthorized: '
|
|
52
|
-
invalidParams: '
|
|
53
|
-
missingKeyPair: '
|
|
54
|
-
missingBlockletUrl: '
|
|
55
|
-
missingBlockletDid: '
|
|
56
|
-
missingChainHost: '
|
|
57
|
-
missingLauncherSession: '
|
|
58
|
-
invalidBlocklet: 'Invalid
|
|
59
|
-
blockletExists: '
|
|
60
|
-
invalidBlockletVc: 'Invalid
|
|
61
|
-
invalidAppVersion: '
|
|
62
|
-
missingProfileClaim: 'Owner profile
|
|
63
|
-
invalidNftClaim: 'Invalid
|
|
64
|
-
invalidNft: 'Invalid
|
|
65
|
-
invalidNftHolder: '
|
|
66
|
-
invalidNftProof: '
|
|
67
|
-
invalidNftIssuer: '
|
|
68
|
-
invalidNftParent: '
|
|
69
|
-
tagNotMatch: 'This NFT
|
|
70
|
-
requestBlockletSpaceNFT: '
|
|
51
|
+
notAuthorized: 'You don\'t have permission for this operation',
|
|
52
|
+
invalidParams: 'Please check your information and try again',
|
|
53
|
+
missingKeyPair: 'App key pair required',
|
|
54
|
+
missingBlockletUrl: 'Blocklet URL required',
|
|
55
|
+
missingBlockletDid: 'Blocklet DID required',
|
|
56
|
+
missingChainHost: 'Chain host required',
|
|
57
|
+
missingLauncherSession: 'Launcher URL and session ID required',
|
|
58
|
+
invalidBlocklet: 'Invalid blocklet',
|
|
59
|
+
blockletExists: 'This blocklet already exists',
|
|
60
|
+
invalidBlockletVc: 'Invalid blocklet credential',
|
|
61
|
+
invalidAppVersion: 'Key-pair rotation only works on the latest version',
|
|
62
|
+
missingProfileClaim: 'Owner profile required',
|
|
63
|
+
invalidNftClaim: 'Invalid asset claim: owner public key, DID, and proof are required',
|
|
64
|
+
invalidNft: 'Invalid ownership NFT',
|
|
65
|
+
invalidNftHolder: 'NFT holder is invalid',
|
|
66
|
+
invalidNftProof: 'NFT signature is invalid',
|
|
67
|
+
invalidNftIssuer: 'NFT issuer is invalid',
|
|
68
|
+
invalidNftParent: 'NFT collection doesn\'t match',
|
|
69
|
+
tagNotMatch: 'This NFT belongs to a different server',
|
|
70
|
+
requestBlockletSpaceNFT: 'Blocklet Space NFT required',
|
|
71
71
|
blockletSpaceNftIdRequired: 'Blocklet Space NFT ID is required',
|
|
72
72
|
nftAlreadyConsumed: 'This NFT has already been used',
|
|
73
73
|
sessionAlreadyConsumed: 'This session has already been used',
|
|
74
74
|
nftAlreadyExpired: 'This NFT has expired',
|
|
75
|
-
nftAlreadyUsed: 'This NFT
|
|
76
|
-
missingNftClaim: 'Ownership NFT
|
|
77
|
-
noNft: 'This server
|
|
78
|
-
noLauncherDid: 'Launcher DID not found
|
|
79
|
-
noNftDid: 'NFT DID not found
|
|
80
|
-
noChainHost: '
|
|
81
|
-
alreadyTransferred: '
|
|
75
|
+
nftAlreadyUsed: 'This NFT is already linked to another user',
|
|
76
|
+
missingNftClaim: 'Ownership NFT required',
|
|
77
|
+
noNft: 'This server isn\'t configured to accept ownership NFTs',
|
|
78
|
+
noLauncherDid: 'Launcher DID not found',
|
|
79
|
+
noNftDid: 'NFT DID not found',
|
|
80
|
+
noChainHost: 'Chain host not found',
|
|
81
|
+
alreadyTransferred: 'This server already belongs to {owner}',
|
|
82
82
|
delegateTransferOwnerNFT:
|
|
83
|
-
'Sign
|
|
84
|
-
notAllowedTransferToSelf: '
|
|
85
|
-
tagRequired: '
|
|
86
|
-
appIsInProgress: '
|
|
87
|
-
cannotImportFromDidSpace: '
|
|
88
|
-
destroyMyself: 'Confirm
|
|
89
|
-
userNotExist: 'User {did}
|
|
90
|
-
notAllowedToDelete: 'You
|
|
91
|
-
notAllowedToDeleteOwner: 'You
|
|
83
|
+
'Sign to authorize the server to transfer your ownership NFT when the new owner claims it.',
|
|
84
|
+
notAllowedTransferToSelf: 'You can\'t transfer the server to yourself',
|
|
85
|
+
tagRequired: 'Tag is required',
|
|
86
|
+
appIsInProgress: 'This application is still processing. Please wait.',
|
|
87
|
+
cannotImportFromDidSpace: 'No importable data found in DID Spaces ({spaceName})',
|
|
88
|
+
destroyMyself: 'Confirm deletion of your personal data. This action cannot be undone.',
|
|
89
|
+
userNotExist: 'User {did} doesn\'t exist',
|
|
90
|
+
notAllowedToDelete: 'You can\'t delete user {did}',
|
|
91
|
+
notAllowedToDeleteOwner: 'You can\'t delete the application owner',
|
|
92
92
|
};
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.52-beta-
|
|
6
|
+
"version": "1.16.52-beta-20251002-030549-0f91dab2",
|
|
7
7
|
"description": "Simple lib to manage auth in ABT Node",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -20,25 +20,25 @@
|
|
|
20
20
|
"author": "linchen <linchen1987@foxmail.com> (http://github.com/linchen1987)",
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@abtnode/constant": "1.16.52-beta-
|
|
24
|
-
"@abtnode/logger": "1.16.52-beta-
|
|
25
|
-
"@abtnode/util": "1.16.52-beta-
|
|
26
|
-
"@arcblock/did": "1.
|
|
27
|
-
"@arcblock/did-connect-js": "1.
|
|
28
|
-
"@arcblock/did-ext": "1.
|
|
29
|
-
"@arcblock/did-util": "1.
|
|
30
|
-
"@arcblock/jwt": "1.
|
|
31
|
-
"@arcblock/nft-display": "^3.1.
|
|
32
|
-
"@arcblock/validator": "1.
|
|
33
|
-
"@arcblock/vc": "1.
|
|
34
|
-
"@blocklet/constant": "1.16.52-beta-
|
|
23
|
+
"@abtnode/constant": "1.16.52-beta-20251002-030549-0f91dab2",
|
|
24
|
+
"@abtnode/logger": "1.16.52-beta-20251002-030549-0f91dab2",
|
|
25
|
+
"@abtnode/util": "1.16.52-beta-20251002-030549-0f91dab2",
|
|
26
|
+
"@arcblock/did": "1.25.6",
|
|
27
|
+
"@arcblock/did-connect-js": "1.25.6",
|
|
28
|
+
"@arcblock/did-ext": "1.25.6",
|
|
29
|
+
"@arcblock/did-util": "1.25.6",
|
|
30
|
+
"@arcblock/jwt": "1.25.6",
|
|
31
|
+
"@arcblock/nft-display": "^3.1.44",
|
|
32
|
+
"@arcblock/validator": "1.25.6",
|
|
33
|
+
"@arcblock/vc": "1.25.6",
|
|
34
|
+
"@blocklet/constant": "1.16.52-beta-20251002-030549-0f91dab2",
|
|
35
35
|
"@blocklet/error": "^0.2.5",
|
|
36
|
-
"@blocklet/meta": "1.16.52-beta-
|
|
37
|
-
"@blocklet/sdk": "1.16.52-beta-
|
|
38
|
-
"@ocap/client": "1.
|
|
39
|
-
"@ocap/mcrypto": "1.
|
|
40
|
-
"@ocap/util": "1.
|
|
41
|
-
"@ocap/wallet": "1.
|
|
36
|
+
"@blocklet/meta": "1.16.52-beta-20251002-030549-0f91dab2",
|
|
37
|
+
"@blocklet/sdk": "1.16.52-beta-20251002-030549-0f91dab2",
|
|
38
|
+
"@ocap/client": "1.25.6",
|
|
39
|
+
"@ocap/mcrypto": "1.25.6",
|
|
40
|
+
"@ocap/util": "1.25.6",
|
|
41
|
+
"@ocap/wallet": "1.25.6",
|
|
42
42
|
"@simplewebauthn/server": "^13.1.1",
|
|
43
43
|
"axios": "^1.7.9",
|
|
44
44
|
"flat": "^5.0.2",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"jest": "^29.7.0"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "57e57e5edc99bfbb7e4591d682f1057ec05655a8"
|
|
60
60
|
}
|