@abtnode/auth 1.16.14-beta-359fefce → 1.16.14-beta-811ed435

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.
Files changed (2) hide show
  1. package/lib/auth.js +2 -2
  2. package/package.json +8 -8
package/lib/auth.js CHANGED
@@ -508,7 +508,7 @@ const handleInvitationReceive = async ({
508
508
  statusEndpointBaseUrl,
509
509
  endpoint,
510
510
  profile,
511
- provider = 'wallet',
511
+ provider = LOGIN_PROVIDER.WALLET,
512
512
  }) => {
513
513
  if (!nodeInfo.nodeOwner) {
514
514
  throw new Error(messages.notInitialized[locale]);
@@ -735,7 +735,7 @@ const handleInvitationResponse = async ({
735
735
  statusEndpointBaseUrl,
736
736
  endpoint,
737
737
  profile,
738
- provider: 'wallet',
738
+ provider: LOGIN_PROVIDER.WALLET,
739
739
  });
740
740
 
741
741
  return receiveResult;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.14-beta-359fefce",
6
+ "version": "1.16.14-beta-811ed435",
7
7
  "description": "Simple lib to manage auth in ABT Node",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -20,14 +20,14 @@
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.14-beta-359fefce",
24
- "@abtnode/logger": "1.16.14-beta-359fefce",
25
- "@abtnode/util": "1.16.14-beta-359fefce",
23
+ "@abtnode/constant": "1.16.14-beta-811ed435",
24
+ "@abtnode/logger": "1.16.14-beta-811ed435",
25
+ "@abtnode/util": "1.16.14-beta-811ed435",
26
26
  "@arcblock/did": "1.18.87",
27
- "@arcblock/nft-display": "2.6.6",
27
+ "@arcblock/nft-display": "2.6.7",
28
28
  "@arcblock/vc": "1.18.87",
29
- "@blocklet/constant": "1.16.14-beta-359fefce",
30
- "@blocklet/meta": "1.16.14-beta-359fefce",
29
+ "@blocklet/constant": "1.16.14-beta-811ed435",
30
+ "@blocklet/meta": "1.16.14-beta-811ed435",
31
31
  "@ocap/mcrypto": "1.18.87",
32
32
  "@ocap/util": "1.18.87",
33
33
  "@ocap/wallet": "1.18.87",
@@ -43,5 +43,5 @@
43
43
  "devDependencies": {
44
44
  "jest": "^27.5.1"
45
45
  },
46
- "gitHead": "3bb46559686e86f1ec318503495f9e1f320c33d4"
46
+ "gitHead": "4525537afdeeb910675c28e2bf60a6d4ecf3b1f1"
47
47
  }