@abtnode/ux 1.16.18 → 1.16.19-beta-e6aac665

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.
@@ -56,7 +56,10 @@ function InvitationReceive({
56
56
  forceConnected: false,
57
57
  autoConnect: false,
58
58
  locale,
59
- extraParams,
59
+ extraParams: {
60
+ provider: 'wallet',
61
+ ...extraParams
62
+ },
60
63
  baseUrl: window.location.origin,
61
64
  prefix: joinURL(window.location.origin, AUTH_SERVICE_PREFIX, API_DID_PREFIX),
62
65
  messages: {
@@ -18,6 +18,11 @@ var _jsxRuntime = require("react/jsx-runtime");
18
18
  var _templateObject;
19
19
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
20
20
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
21
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
22
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
23
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
24
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
25
+ function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
21
26
  function InvitationReceive(_ref) {
22
27
  let {
23
28
  invitation,
@@ -66,7 +71,9 @@ function InvitationReceive(_ref) {
66
71
  forceConnected: false,
67
72
  autoConnect: false,
68
73
  locale,
69
- extraParams,
74
+ extraParams: _objectSpread({
75
+ provider: 'wallet'
76
+ }, extraParams),
70
77
  baseUrl: window.location.origin,
71
78
  prefix: (0, _urlJoin.default)(window.location.origin, _constant.AUTH_SERVICE_PREFIX, _constant.API_DID_PREFIX),
72
79
  messages: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abtnode/ux",
3
- "version": "1.16.18",
3
+ "version": "1.16.19-beta-e6aac665",
4
4
  "description": "UX components shared across abtnode packages",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -27,24 +27,24 @@
27
27
  "author": "linchen <linchen1987@foxmail.com> (http://github.com/linchen1987)",
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@abtnode/auth": "1.16.18",
31
- "@abtnode/constant": "1.16.18",
32
- "@abtnode/util": "1.16.18",
30
+ "@abtnode/auth": "1.16.19-beta-e6aac665",
31
+ "@abtnode/constant": "1.16.19-beta-e6aac665",
32
+ "@abtnode/util": "1.16.19-beta-e6aac665",
33
33
  "@ahooksjs/use-url-state": "^3.5.1",
34
34
  "@arcblock/did": "^1.18.95",
35
- "@arcblock/did-connect": "^2.8.12",
35
+ "@arcblock/did-connect": "^2.8.14",
36
36
  "@arcblock/did-motif": "^1.1.13",
37
- "@arcblock/icons": "^2.8.12",
38
- "@arcblock/nft-display": "2.8.12",
39
- "@arcblock/react-hooks": "^2.8.12",
40
- "@arcblock/terminal": "^2.8.12",
41
- "@arcblock/ux": "^2.8.12",
42
- "@blocklet/constant": "1.16.18",
43
- "@blocklet/launcher-layout": "2.2.32",
37
+ "@arcblock/icons": "^2.8.14",
38
+ "@arcblock/nft-display": "2.8.14",
39
+ "@arcblock/react-hooks": "^2.8.14",
40
+ "@arcblock/terminal": "^2.8.14",
41
+ "@arcblock/ux": "^2.8.14",
42
+ "@blocklet/constant": "1.16.19-beta-e6aac665",
43
+ "@blocklet/launcher-layout": "2.2.36",
44
44
  "@blocklet/list": "^0.12.52",
45
- "@blocklet/meta": "1.16.18",
46
- "@blocklet/ui-react": "^2.8.12",
47
- "@blocklet/uploader": "^0.0.38",
45
+ "@blocklet/meta": "1.16.19-beta-e6aac665",
46
+ "@blocklet/ui-react": "^2.8.14",
47
+ "@blocklet/uploader": "^0.0.40",
48
48
  "@emotion/react": "^11.10.4",
49
49
  "@emotion/styled": "^11.10.4",
50
50
  "@iconify/react": "^4.0.0",
@@ -100,7 +100,7 @@
100
100
  "babel-plugin-inline-react-svg": "^1.1.2",
101
101
  "glob": "^10.3.3"
102
102
  },
103
- "gitHead": "22a7d559b0129b06a160c6a62cf9383e7f09f25f",
103
+ "gitHead": "09b0172831521ef73f7879940b977c2696b5b247",
104
104
  "exports": {
105
105
  ".": {
106
106
  "import": "./es/index.js",