@blocklet/server-js 1.16.54-beta-20251017-133309-7d40faa6 → 1.16.54-beta-20251023-041534-36eec6b9
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/dist/base.js +4 -1
- package/dist/base.js.map +1 -1
- package/dist/browser.d.ts +2 -1
- package/dist/bundle.js +1 -1
- package/dist/report.html +2 -2
- package/dist/schema/graphql.json +10 -0
- package/dist/types.js +1 -0
- package/dist/types.js.map +1 -1
- package/docs/QUERIES.md +1 -1
- package/lib/base.js +4 -1
- package/lib/base.js.map +1 -1
- package/lib/node.d.ts +2 -1
- package/lib/node.js +7 -5
- package/lib/node.js.map +1 -1
- package/lib/schema/graphql.json +10 -0
- package/lib/types.js +1 -0
- package/lib/types.js.map +1 -1
- package/package.json +6 -6
package/docs/QUERIES.md
CHANGED
package/lib/base.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
require("core-js/modules/es.promise.js");
|
|
3
4
|
require("core-js/modules/es.regexp.exec.js");
|
|
4
5
|
require("core-js/modules/es.string.ends-with.js");
|
|
5
6
|
require("core-js/modules/es.string.replace.js");
|
|
@@ -56,7 +57,9 @@ class ABTNodeClient extends BaseClient {
|
|
|
56
57
|
} = _ref;
|
|
57
58
|
return [];
|
|
58
59
|
}
|
|
59
|
-
|
|
60
|
+
|
|
61
|
+
// eslint-disable-next-line require-await
|
|
62
|
+
async _getAuthHeaders() {
|
|
60
63
|
const headers = {};
|
|
61
64
|
const token = this._authToken;
|
|
62
65
|
if (token) {
|
package/lib/base.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.js","names":["BaseClient","require","dayjs","timezone","extend","schema","ABTNodeClient","constructor","httpEndpoint","arguments","length","undefined","userAgent","config","dataSource","socketEndpoint","_getSocketEndpoint","enableQuery","enableSubscription","enableMutation","maxQueryDepth","_endpoint","_authToken","_userAgent","setAuthToken","token","endpoint","replace","indexOf","concat","_getSchema","_getIgnoreFields","_ref","name","_getAuthHeaders","headers","val","Authorization","encodeURIComponent","window","location","hostname","port","protocol","endsWith","substring","tz","guess","module","exports"],"sources":["../src/base.js"],"sourcesContent":["/* eslint-disable no-underscore-dangle */\nconst BaseClient = require('@arcblock/sdk-util');\nconst dayjs = require('dayjs');\nconst timezone = require('dayjs/plugin/timezone');\n\ndayjs.extend(timezone);\n\nconst schema = require('./schema/graphql.json');\n\n/**\n * Provides a readonly client to forge\n * Its recommended to use this version in browser to get smaller bundle size\n *\n * @class ABTNodeClient\n * @extends {BaseClient}\n */\nclass ABTNodeClient extends BaseClient {\n constructor(httpEndpoint = 'http://localhost:4000/api', userAgent = '') {\n const config = {\n dataSource: 'forge',\n httpEndpoint,\n socketEndpoint: () => this._getSocketEndpoint(httpEndpoint),\n enableQuery: true,\n enableSubscription: true,\n enableMutation: true,\n maxQueryDepth: 6,\n };\n\n super(config);\n\n this._endpoint = httpEndpoint;\n this._authToken = null;\n this._userAgent = userAgent;\n }\n\n setAuthToken(token) {\n this._authToken = token;\n }\n\n _getSocketEndpoint(endpoint) {\n let socketEndpoint = endpoint.replace(/https?:\\/\\//, 'ws://');\n if (endpoint.indexOf('https://') === 0) {\n socketEndpoint = socketEndpoint.replace('ws://', 'wss://');\n }\n\n return `${socketEndpoint}/socket`;\n }\n\n _getSchema() {\n return schema;\n }\n\n // eslint-disable-next-line\n _getIgnoreFields({ name }) {\n return [];\n }\n\n _getAuthHeaders() {\n const headers = {};\n const token = this._authToken;\n if (token) {\n const val = typeof token === 'function' ? token() : token;\n headers.Authorization = `Bearer ${encodeURIComponent(val)}`;\n }\n\n // eslint-disable-next-line no-undef\n if (typeof window !== 'undefined' && typeof window.location !== 'undefined') {\n const { hostname, port, protocol } = window.location; // eslint-disable-line no-undef\n headers['x-real-hostname'] = hostname;\n headers['x-real-port'] = port;\n headers['x-real-protocol'] = protocol.endsWith(':') ? protocol.substring(0, protocol.length - 1) : protocol;\n }\n\n if (this._userAgent) {\n headers['User-Agent'] = this._userAgent;\n }\n\n // 获取时区\n headers['x-timezone'] = dayjs.tz.guess();\n\n return headers;\n }\n}\n\nmodule.exports = ABTNodeClient;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"base.js","names":["BaseClient","require","dayjs","timezone","extend","schema","ABTNodeClient","constructor","httpEndpoint","arguments","length","undefined","userAgent","config","dataSource","socketEndpoint","_getSocketEndpoint","enableQuery","enableSubscription","enableMutation","maxQueryDepth","_endpoint","_authToken","_userAgent","setAuthToken","token","endpoint","replace","indexOf","concat","_getSchema","_getIgnoreFields","_ref","name","_getAuthHeaders","headers","val","Authorization","encodeURIComponent","window","location","hostname","port","protocol","endsWith","substring","tz","guess","module","exports"],"sources":["../src/base.js"],"sourcesContent":["/* eslint-disable no-underscore-dangle */\nconst BaseClient = require('@arcblock/sdk-util');\nconst dayjs = require('dayjs');\nconst timezone = require('dayjs/plugin/timezone');\n\ndayjs.extend(timezone);\n\nconst schema = require('./schema/graphql.json');\n\n/**\n * Provides a readonly client to forge\n * Its recommended to use this version in browser to get smaller bundle size\n *\n * @class ABTNodeClient\n * @extends {BaseClient}\n */\nclass ABTNodeClient extends BaseClient {\n constructor(httpEndpoint = 'http://localhost:4000/api', userAgent = '') {\n const config = {\n dataSource: 'forge',\n httpEndpoint,\n socketEndpoint: () => this._getSocketEndpoint(httpEndpoint),\n enableQuery: true,\n enableSubscription: true,\n enableMutation: true,\n maxQueryDepth: 6,\n };\n\n super(config);\n\n this._endpoint = httpEndpoint;\n this._authToken = null;\n this._userAgent = userAgent;\n }\n\n setAuthToken(token) {\n this._authToken = token;\n }\n\n _getSocketEndpoint(endpoint) {\n let socketEndpoint = endpoint.replace(/https?:\\/\\//, 'ws://');\n if (endpoint.indexOf('https://') === 0) {\n socketEndpoint = socketEndpoint.replace('ws://', 'wss://');\n }\n\n return `${socketEndpoint}/socket`;\n }\n\n _getSchema() {\n return schema;\n }\n\n // eslint-disable-next-line\n _getIgnoreFields({ name }) {\n return [];\n }\n\n // eslint-disable-next-line require-await\n async _getAuthHeaders() {\n const headers = {};\n const token = this._authToken;\n if (token) {\n const val = typeof token === 'function' ? token() : token;\n headers.Authorization = `Bearer ${encodeURIComponent(val)}`;\n }\n\n // eslint-disable-next-line no-undef\n if (typeof window !== 'undefined' && typeof window.location !== 'undefined') {\n const { hostname, port, protocol } = window.location; // eslint-disable-line no-undef\n headers['x-real-hostname'] = hostname;\n headers['x-real-port'] = port;\n headers['x-real-protocol'] = protocol.endsWith(':') ? protocol.substring(0, protocol.length - 1) : protocol;\n }\n\n if (this._userAgent) {\n headers['User-Agent'] = this._userAgent;\n }\n\n // 获取时区\n headers['x-timezone'] = dayjs.tz.guess();\n\n return headers;\n }\n}\n\nmodule.exports = ABTNodeClient;\n"],"mappings":";;;;;;AAAA;AACA,MAAMA,UAAU,GAAGC,OAAO,CAAC,oBAAoB,CAAC;AAChD,MAAMC,KAAK,GAAGD,OAAO,CAAC,OAAO,CAAC;AAC9B,MAAME,QAAQ,GAAGF,OAAO,CAAC,uBAAuB,CAAC;AAEjDC,KAAK,CAACE,MAAM,CAACD,QAAQ,CAAC;AAEtB,MAAME,MAAM,GAAGJ,OAAO,CAAC,uBAAuB,CAAC;;AAE/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMK,aAAa,SAASN,UAAU,CAAC;EACrCO,WAAWA,CAAA,EAA6D;IAAA,IAA5DC,YAAY,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,2BAA2B;IAAA,IAAEG,SAAS,GAAAH,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,EAAE;IACpE,MAAMI,MAAM,GAAG;MACbC,UAAU,EAAE,OAAO;MACnBN,YAAY;MACZO,cAAc,EAAEA,CAAA,KAAM,IAAI,CAACC,kBAAkB,CAACR,YAAY,CAAC;MAC3DS,WAAW,EAAE,IAAI;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S,CAAC,GAAGJ,MAAM,CAACC,QAAQ,CAAC,CAAC;MACtDL,OAAO,CAAC,iBAAiB,CAAC,GAAGM,QAAQ;MACrCN,OAAO,CAAC,aAAa,CAAC,GAAGO,IAAI;MAC7BP,OAAO,CAAC,iBAAiB,CAAC,GAAGQ,QAAQ,CAACC,QAAQ,CAAC,GAAG,CAAC,GAAGD,QAAQ,CAACE,SAAS,CAAC,CAAC,EAAEF,QAAQ,CAACjC,MAAM,GAAG,CAAC,CAAC,GAAGiC,QAAQ;IAC7G;IAEA,IAAI,IAAI,CAACpB,UAAU,EAAE;MACnBY,OAAO,CAAC,YAAY,CAAC,GAAG,IAAI,CAACZ,UAAU;IACzC;;IAEA;IACAY,OAAO,CAAC,YAAY,CAAC,GAAGjC,KAAK,CAAC4C,EAAE,CAACC,KAAK,CAAC,CAAC;IAExC,OAAOZ,OAAO;EAChB;AACF;AAEAa,MAAM,CAACC,OAAO,GAAG3C,aAAa","ignoreList":[]}
|
package/lib/node.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ declare class ABTNodeClient {
|
|
|
30
30
|
type: any;
|
|
31
31
|
}): void;
|
|
32
32
|
|
|
33
|
-
protected _getAuthHeaders(): Record<string, string> | undefined
|
|
33
|
+
protected _getAuthHeaders(): Promise<Record<string, string> | undefined>;
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
36
|
* Send raw query to ocap and return results
|
|
@@ -2110,6 +2110,7 @@ declare namespace ABTNodeClient {
|
|
|
2110
2110
|
interface RequestTeamUserOptionsInput {
|
|
2111
2111
|
enableConnectedAccount: boolean;
|
|
2112
2112
|
includeTags: boolean;
|
|
2113
|
+
includeFederated: boolean;
|
|
2113
2114
|
}
|
|
2114
2115
|
|
|
2115
2116
|
interface RequestUpdateAccessKeyInput {
|
package/lib/node.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
require("core-js/modules/es.promise.js");
|
|
3
4
|
/* eslint-disable no-underscore-dangle */
|
|
4
5
|
const {
|
|
5
6
|
EventEmitter
|
|
@@ -33,8 +34,8 @@ class NativeABTNodeClient extends ABTNodeClient {
|
|
|
33
34
|
this._accessKeySecret = accessKeySecret;
|
|
34
35
|
this._type = type;
|
|
35
36
|
}
|
|
36
|
-
_getAuthHeaders() {
|
|
37
|
-
const headers = super._getAuthHeaders();
|
|
37
|
+
async _getAuthHeaders() {
|
|
38
|
+
const headers = await super._getAuthHeaders();
|
|
38
39
|
if (this._accessKeyId && this._accessKeySecret) {
|
|
39
40
|
headers['x-access-key-id'] = this._accessKeyId;
|
|
40
41
|
if (this._type === 'sha256') {
|
|
@@ -46,7 +47,7 @@ class NativeABTNodeClient extends ABTNodeClient {
|
|
|
46
47
|
} else {
|
|
47
48
|
const wallet = fromSecretKey(this._accessKeySecret, this._type);
|
|
48
49
|
const timestamp = Date.now();
|
|
49
|
-
headers['x-access-signature'] = wallet.sign("".concat(timestamp, "-").concat(this._accessKeyId));
|
|
50
|
+
headers['x-access-signature'] = await wallet.sign("".concat(timestamp, "-").concat(this._accessKeyId));
|
|
50
51
|
headers['x-access-stamp'] = timestamp;
|
|
51
52
|
}
|
|
52
53
|
}
|
|
@@ -75,7 +76,7 @@ NativeABTNodeClient.validateAccessKey = _ref2 => {
|
|
|
75
76
|
throw new Error('accessKeyId and accessKeySecret does not match');
|
|
76
77
|
}
|
|
77
78
|
};
|
|
78
|
-
NativeABTNodeClient.signWithAccessKey = _ref3 => {
|
|
79
|
+
NativeABTNodeClient.signWithAccessKey = async _ref3 => {
|
|
79
80
|
let {
|
|
80
81
|
accessKeyId,
|
|
81
82
|
accessKeySecret,
|
|
@@ -87,7 +88,8 @@ NativeABTNodeClient.signWithAccessKey = _ref3 => {
|
|
|
87
88
|
accessKeySecret
|
|
88
89
|
});
|
|
89
90
|
const wallet = fromSecretKey(accessKeySecret, type);
|
|
90
|
-
|
|
91
|
+
const data = await wallet.sign(message);
|
|
92
|
+
return data;
|
|
91
93
|
};
|
|
92
94
|
module.exports = NativeABTNodeClient;
|
|
93
95
|
//# sourceMappingURL=node.js.map
|
package/lib/node.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.js","names":["EventEmitter","require","fromSecretKey","ABTNodeClient","signer","NativeABTNodeClient","constructor","httpEndpoint","userAgent","_accessKeyId","_accessKeySecret","_type","setAuthAccessKey","_ref","accessKeyId","accessKeySecret","type","validateAccessKey","_getAuthHeaders","headers","sha256","sign","totp","wallet","timestamp","Date","now","concat","_getSocketOptions","_getEventImplementation","_ref2","isSameAddr","addr1","addr2","String","toLowerCase","match","address","Error","signWithAccessKey","_ref3","message","module","exports"],"sources":["../src/node.js"],"sourcesContent":["/* eslint-disable no-underscore-dangle */\nconst { EventEmitter } = require('events');\nconst { fromSecretKey } = require('@ocap/wallet');\n\nconst ABTNodeClient = require('./base');\nconst signer = require('./signer');\n\nclass NativeABTNodeClient extends ABTNodeClient {\n constructor(httpEndpoint, userAgent) {\n super(httpEndpoint, userAgent);\n\n this._accessKeyId = null;\n this._accessKeySecret = null;\n\n // wallet type\n this._type = null;\n }\n\n setAuthAccessKey({ accessKeyId, accessKeySecret, type }) {\n NativeABTNodeClient.validateAccessKey({\n accessKeyId,\n accessKeySecret,\n type,\n });\n\n this._accessKeyId = accessKeyId;\n this._accessKeySecret = accessKeySecret;\n this._type = type;\n }\n\n _getAuthHeaders() {\n const headers = super._getAuthHeaders();\n if (this._accessKeyId && this._accessKeySecret) {\n headers['x-access-key-id'] = this._accessKeyId;\n if (this._type === 'sha256') {\n headers['x-access-signature'] = signer.sha256.sign(this._accessKeySecret);\n headers['x-access-alg'] = 'sha256';\n } else if (this._type === 'totp') {\n headers['x-access-signature'] = signer.totp.sign(this._accessKeySecret);\n headers['x-access-alg'] = 'totp';\n } else {\n const wallet = fromSecretKey(this._accessKeySecret, this._type);\n const timestamp = Date.now();\n headers['x-access-signature'] = wallet.sign(`${timestamp}-${this._accessKeyId}`);\n headers['x-access-stamp'] = timestamp;\n }\n }\n\n return headers;\n }\n\n _getSocketOptions() {\n return {};\n }\n\n _getEventImplementation() {\n return EventEmitter;\n }\n}\n\nNativeABTNodeClient.validateAccessKey = ({ accessKeyId, accessKeySecret, type }) => {\n if (type === 'totp' || type === 'sha256') {\n return;\n }\n const wallet = fromSecretKey(accessKeySecret, type);\n const isSameAddr = (addr1, addr2) => String(addr1).toLowerCase() === String(addr2).toLowerCase();\n const match = isSameAddr(accessKeyId, wallet.address);\n if (!match) {\n throw new Error('accessKeyId and accessKeySecret does not match');\n }\n};\n\nNativeABTNodeClient.signWithAccessKey = ({ accessKeyId, accessKeySecret, message, type }) => {\n NativeABTNodeClient.validateAccessKey({ accessKeyId, accessKeySecret });\n const wallet = fromSecretKey(accessKeySecret, type);\n
|
|
1
|
+
{"version":3,"file":"node.js","names":["EventEmitter","require","fromSecretKey","ABTNodeClient","signer","NativeABTNodeClient","constructor","httpEndpoint","userAgent","_accessKeyId","_accessKeySecret","_type","setAuthAccessKey","_ref","accessKeyId","accessKeySecret","type","validateAccessKey","_getAuthHeaders","headers","sha256","sign","totp","wallet","timestamp","Date","now","concat","_getSocketOptions","_getEventImplementation","_ref2","isSameAddr","addr1","addr2","String","toLowerCase","match","address","Error","signWithAccessKey","_ref3","message","data","module","exports"],"sources":["../src/node.js"],"sourcesContent":["/* eslint-disable no-underscore-dangle */\nconst { EventEmitter } = require('events');\nconst { fromSecretKey } = require('@ocap/wallet');\n\nconst ABTNodeClient = require('./base');\nconst signer = require('./signer');\n\nclass NativeABTNodeClient extends ABTNodeClient {\n constructor(httpEndpoint, userAgent) {\n super(httpEndpoint, userAgent);\n\n this._accessKeyId = null;\n this._accessKeySecret = null;\n\n // wallet type\n this._type = null;\n }\n\n setAuthAccessKey({ accessKeyId, accessKeySecret, type }) {\n NativeABTNodeClient.validateAccessKey({\n accessKeyId,\n accessKeySecret,\n type,\n });\n\n this._accessKeyId = accessKeyId;\n this._accessKeySecret = accessKeySecret;\n this._type = type;\n }\n\n async _getAuthHeaders() {\n const headers = await super._getAuthHeaders();\n if (this._accessKeyId && this._accessKeySecret) {\n headers['x-access-key-id'] = this._accessKeyId;\n if (this._type === 'sha256') {\n headers['x-access-signature'] = signer.sha256.sign(this._accessKeySecret);\n headers['x-access-alg'] = 'sha256';\n } else if (this._type === 'totp') {\n headers['x-access-signature'] = signer.totp.sign(this._accessKeySecret);\n headers['x-access-alg'] = 'totp';\n } else {\n const wallet = fromSecretKey(this._accessKeySecret, this._type);\n const timestamp = Date.now();\n headers['x-access-signature'] = await wallet.sign(`${timestamp}-${this._accessKeyId}`);\n headers['x-access-stamp'] = timestamp;\n }\n }\n\n return headers;\n }\n\n _getSocketOptions() {\n return {};\n }\n\n _getEventImplementation() {\n return EventEmitter;\n }\n}\n\nNativeABTNodeClient.validateAccessKey = ({ accessKeyId, accessKeySecret, type }) => {\n if (type === 'totp' || type === 'sha256') {\n return;\n }\n const wallet = fromSecretKey(accessKeySecret, type);\n const isSameAddr = (addr1, addr2) => String(addr1).toLowerCase() === String(addr2).toLowerCase();\n const match = isSameAddr(accessKeyId, wallet.address);\n if (!match) {\n throw new Error('accessKeyId and accessKeySecret does not match');\n }\n};\n\nNativeABTNodeClient.signWithAccessKey = async ({ accessKeyId, accessKeySecret, message, type }) => {\n NativeABTNodeClient.validateAccessKey({ accessKeyId, accessKeySecret });\n const wallet = fromSecretKey(accessKeySecret, type);\n const data = await wallet.sign(message);\n return data;\n};\n\nmodule.exports = NativeABTNodeClient;\n"],"mappings":";;;AAAA;AACA,MAAM;EAAEA;AAAa,CAAC,GAAGC,OAAO,CAAC,QAAQ,CAAC;AAC1C,MAAM;EAAEC;AAAc,CAAC,GAAGD,OAAO,CAAC,cAAc,CAAC;AAEjD,MAAME,aAAa,GAAGF,OAAO,CAAC,QAAQ,CAAC;AACvC,MAAMG,MAAM,GAAGH,OAAO,CAAC,UAAU,CAAC;AAElC,MAAMI,mBAAmB,SAASF,aAAa,CAAC;EAC9CG,WAAWA,CAACC,YAAY,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MAAMQ,MAAM,GAAGrB,aAAa,CAACa,eAAe,EAAEC,IAAI,CAAC;EACnD,MAAM0B,IAAI,GAAG,MAAMnB,MAAM,CAACF,IAAI,CAACoB,OAAO,CAAC;EACvC,OAAOC,IAAI;AACb,CAAC;AAEDC,MAAM,CAACC,OAAO,GAAGvC,mBAAmB","ignoreList":[]}
|
package/lib/schema/graphql.json
CHANGED
|
@@ -10764,6 +10764,16 @@
|
|
|
10764
10764
|
"ofType": null
|
|
10765
10765
|
},
|
|
10766
10766
|
"defaultValue": null
|
|
10767
|
+
},
|
|
10768
|
+
{
|
|
10769
|
+
"name": "includeFederated",
|
|
10770
|
+
"description": null,
|
|
10771
|
+
"type": {
|
|
10772
|
+
"kind": "SCALAR",
|
|
10773
|
+
"name": "Boolean",
|
|
10774
|
+
"ofType": null
|
|
10775
|
+
},
|
|
10776
|
+
"defaultValue": null
|
|
10767
10777
|
}
|
|
10768
10778
|
],
|
|
10769
10779
|
"interfaces": null,
|
package/lib/types.js
CHANGED