@coasys/ad4m 0.12.0 → 0.12.1-dev
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/lib/index.cjs +253 -4
- package/lib/index.js +253 -4
- package/lib/src/agent/AgentClient.js +1 -0
- package/lib/src/runtime/RuntimeClient.d.ts +26 -0
- package/lib/src/runtime/RuntimeClient.js +126 -0
- package/lib/src/runtime/RuntimeResolver.d.ts +14 -1
- package/lib/src/runtime/RuntimeResolver.js +113 -4
- package/lib/src/schema.gql +13 -0
- package/lib/src/typeDefs.js +13 -0
- package/package.json +1 -1
- package/src/agent/AgentClient.ts +2 -0
- package/src/runtime/RuntimeClient.ts +140 -0
- package/src/runtime/RuntimeResolver.ts +77 -3
package/lib/index.cjs
CHANGED
|
@@ -9843,6 +9843,7 @@ class AgentClient {
|
|
|
9843
9843
|
email
|
|
9844
9844
|
remainingCredits
|
|
9845
9845
|
hotWalletAddress
|
|
9846
|
+
freeAccess
|
|
9846
9847
|
}
|
|
9847
9848
|
}`,
|
|
9848
9849
|
}));
|
|
@@ -10359,6 +10360,14 @@ class RuntimeClient {
|
|
|
10359
10360
|
}));
|
|
10360
10361
|
return runtimeInfo;
|
|
10361
10362
|
}
|
|
10363
|
+
async tlsDomain() {
|
|
10364
|
+
const { runtimeTlsDomain } = unwrapApolloResult(await __classPrivateFieldGet$4(this, _RuntimeClient_apolloClient, "f").query({
|
|
10365
|
+
query: gql `query runtimeTlsDomain {
|
|
10366
|
+
runtimeTlsDomain
|
|
10367
|
+
}`,
|
|
10368
|
+
}));
|
|
10369
|
+
return runtimeTlsDomain;
|
|
10370
|
+
}
|
|
10362
10371
|
async quit() {
|
|
10363
10372
|
const result = unwrapApolloResult(await __classPrivateFieldGet$4(this, _RuntimeClient_apolloClient, "f").mutate({
|
|
10364
10373
|
mutation: gql `mutation runtimeQuit { runtimeQuit }`
|
|
@@ -10661,11 +10670,23 @@ class RuntimeClient {
|
|
|
10661
10670
|
did
|
|
10662
10671
|
lastSeen
|
|
10663
10672
|
perspectiveCount
|
|
10673
|
+
remainingCredits
|
|
10674
|
+
freeAccess
|
|
10675
|
+
hotWalletAddress
|
|
10664
10676
|
}
|
|
10665
10677
|
}`
|
|
10666
10678
|
}));
|
|
10667
10679
|
return runtimeListUsers;
|
|
10668
10680
|
}
|
|
10681
|
+
async userWalletAddress(email) {
|
|
10682
|
+
const { runtimeUserWalletAddress } = unwrapApolloResult(await __classPrivateFieldGet$4(this, _RuntimeClient_apolloClient, "f").query({
|
|
10683
|
+
query: gql `query runtimeUserWalletAddress($email: String!) {
|
|
10684
|
+
runtimeUserWalletAddress(email: $email)
|
|
10685
|
+
}`,
|
|
10686
|
+
variables: { email }
|
|
10687
|
+
}));
|
|
10688
|
+
return runtimeUserWalletAddress;
|
|
10689
|
+
}
|
|
10669
10690
|
async emailTestModeEnable() {
|
|
10670
10691
|
const { runtimeEmailTestModeEnable } = unwrapApolloResult(await __classPrivateFieldGet$4(this, _RuntimeClient_apolloClient, "f").mutate({
|
|
10671
10692
|
mutation: gql `mutation runtimeEmailTestModeEnable {
|
|
@@ -10708,6 +10729,112 @@ class RuntimeClient {
|
|
|
10708
10729
|
}));
|
|
10709
10730
|
return runtimeEmailTestSetExpiry;
|
|
10710
10731
|
}
|
|
10732
|
+
// ---- Unyt / mHOT methods ----
|
|
10733
|
+
async unytAgentKey() {
|
|
10734
|
+
const { runtimeUnytAgentKey } = unwrapApolloResult(await __classPrivateFieldGet$4(this, _RuntimeClient_apolloClient, "f").query({
|
|
10735
|
+
query: gql `query runtimeUnytAgentKey { runtimeUnytAgentKey }`,
|
|
10736
|
+
fetchPolicy: "network-only",
|
|
10737
|
+
}));
|
|
10738
|
+
return runtimeUnytAgentKey;
|
|
10739
|
+
}
|
|
10740
|
+
async unytHotAgentPubkey() {
|
|
10741
|
+
const { runtimeHotAgentPubkey } = unwrapApolloResult(await __classPrivateFieldGet$4(this, _RuntimeClient_apolloClient, "f").query({
|
|
10742
|
+
query: gql `query runtimeHotAgentPubkey { runtimeHotAgentPubkey }`,
|
|
10743
|
+
fetchPolicy: "network-only",
|
|
10744
|
+
}));
|
|
10745
|
+
return runtimeHotAgentPubkey;
|
|
10746
|
+
}
|
|
10747
|
+
async unytWalletBalance() {
|
|
10748
|
+
const { runtimeHotWalletBalance } = unwrapApolloResult(await __classPrivateFieldGet$4(this, _RuntimeClient_apolloClient, "f").query({
|
|
10749
|
+
query: gql `query runtimeHotWalletBalance { runtimeHotWalletBalance }`,
|
|
10750
|
+
fetchPolicy: "network-only",
|
|
10751
|
+
}));
|
|
10752
|
+
return runtimeHotWalletBalance;
|
|
10753
|
+
}
|
|
10754
|
+
async unytWalletHistory(page, perPage) {
|
|
10755
|
+
const { runtimeHotWalletHistory } = unwrapApolloResult(await __classPrivateFieldGet$4(this, _RuntimeClient_apolloClient, "f").query({
|
|
10756
|
+
query: gql `query runtimeHotWalletHistory($page: Int, $perPage: Int) {
|
|
10757
|
+
runtimeHotWalletHistory(page: $page, perPage: $perPage)
|
|
10758
|
+
}`,
|
|
10759
|
+
variables: { page, perPage },
|
|
10760
|
+
fetchPolicy: "network-only",
|
|
10761
|
+
}));
|
|
10762
|
+
return runtimeHotWalletHistory;
|
|
10763
|
+
}
|
|
10764
|
+
async unytVersionInfo() {
|
|
10765
|
+
const { runtimeUnytVersionInfo } = unwrapApolloResult(await __classPrivateFieldGet$4(this, _RuntimeClient_apolloClient, "f").query({
|
|
10766
|
+
query: gql `query runtimeUnytVersionInfo { runtimeUnytVersionInfo }`,
|
|
10767
|
+
fetchPolicy: "network-only",
|
|
10768
|
+
}));
|
|
10769
|
+
return runtimeUnytVersionInfo;
|
|
10770
|
+
}
|
|
10771
|
+
async unytSetMembraneProof(proof) {
|
|
10772
|
+
const { runtimeSetUnytMembraneProof } = unwrapApolloResult(await __classPrivateFieldGet$4(this, _RuntimeClient_apolloClient, "f").mutate({
|
|
10773
|
+
mutation: gql `mutation runtimeSetUnytMembraneProof($proof: String!) {
|
|
10774
|
+
runtimeSetUnytMembraneProof(proof: $proof) { success message }
|
|
10775
|
+
}`,
|
|
10776
|
+
variables: { proof },
|
|
10777
|
+
}));
|
|
10778
|
+
return runtimeSetUnytMembraneProof;
|
|
10779
|
+
}
|
|
10780
|
+
async unytReinstallDna() {
|
|
10781
|
+
const { runtimeReinstallUnytDna } = unwrapApolloResult(await __classPrivateFieldGet$4(this, _RuntimeClient_apolloClient, "f").mutate({
|
|
10782
|
+
mutation: gql `mutation runtimeReinstallUnytDna {
|
|
10783
|
+
runtimeReinstallUnytDna { success message }
|
|
10784
|
+
}`,
|
|
10785
|
+
}));
|
|
10786
|
+
return runtimeReinstallUnytDna;
|
|
10787
|
+
}
|
|
10788
|
+
async unytSendHot(recipient, amount) {
|
|
10789
|
+
const { runtimeSendHot } = unwrapApolloResult(await __classPrivateFieldGet$4(this, _RuntimeClient_apolloClient, "f").mutate({
|
|
10790
|
+
mutation: gql `mutation runtimeSendHot($recipient: String!, $amount: String!) {
|
|
10791
|
+
runtimeSendHot(recipient: $recipient, amount: $amount) { success message }
|
|
10792
|
+
}`,
|
|
10793
|
+
variables: { recipient, amount },
|
|
10794
|
+
}));
|
|
10795
|
+
return runtimeSendHot;
|
|
10796
|
+
}
|
|
10797
|
+
async setUserCredits(email, amount) {
|
|
10798
|
+
const { runtimeSetUserCredits } = unwrapApolloResult(await __classPrivateFieldGet$4(this, _RuntimeClient_apolloClient, "f").mutate({
|
|
10799
|
+
mutation: gql `mutation runtimeSetUserCredits($email: String!, $amount: Float!) {
|
|
10800
|
+
runtimeSetUserCredits(email: $email, amount: $amount)
|
|
10801
|
+
}`,
|
|
10802
|
+
variables: { email, amount },
|
|
10803
|
+
}));
|
|
10804
|
+
return runtimeSetUserCredits;
|
|
10805
|
+
}
|
|
10806
|
+
async setUserFreeAccess(email, enabled) {
|
|
10807
|
+
const { runtimeSetUserFreeAccess } = unwrapApolloResult(await __classPrivateFieldGet$4(this, _RuntimeClient_apolloClient, "f").mutate({
|
|
10808
|
+
mutation: gql `mutation runtimeSetUserFreeAccess($email: String!, $enabled: Boolean!) {
|
|
10809
|
+
runtimeSetUserFreeAccess(email: $email, enabled: $enabled)
|
|
10810
|
+
}`,
|
|
10811
|
+
variables: { email, enabled },
|
|
10812
|
+
}));
|
|
10813
|
+
return runtimeSetUserFreeAccess;
|
|
10814
|
+
}
|
|
10815
|
+
async setHostRates(ratesJson) {
|
|
10816
|
+
const { runtimeSetHostRates } = unwrapApolloResult(await __classPrivateFieldGet$4(this, _RuntimeClient_apolloClient, "f").mutate({
|
|
10817
|
+
mutation: gql `mutation runtimeSetHostRates($ratesJson: String!) {
|
|
10818
|
+
runtimeSetHostRates(ratesJson: $ratesJson)
|
|
10819
|
+
}`,
|
|
10820
|
+
variables: { ratesJson },
|
|
10821
|
+
}));
|
|
10822
|
+
return runtimeSetHostRates;
|
|
10823
|
+
}
|
|
10824
|
+
async getHostRates() {
|
|
10825
|
+
const { runtimeHostRates } = unwrapApolloResult(await __classPrivateFieldGet$4(this, _RuntimeClient_apolloClient, "f").query({
|
|
10826
|
+
query: gql `query runtimeHostRates {
|
|
10827
|
+
runtimeHostRates
|
|
10828
|
+
}`,
|
|
10829
|
+
fetchPolicy: 'network-only',
|
|
10830
|
+
}));
|
|
10831
|
+
try {
|
|
10832
|
+
return JSON.parse(runtimeHostRates);
|
|
10833
|
+
}
|
|
10834
|
+
catch {
|
|
10835
|
+
return [];
|
|
10836
|
+
}
|
|
10837
|
+
}
|
|
10711
10838
|
addNotificationTriggeredCallback(cb) {
|
|
10712
10839
|
__classPrivateFieldGet$4(this, _RuntimeClient_notificationTriggeredCallbacks, "f").push(cb);
|
|
10713
10840
|
}
|
|
@@ -23142,6 +23269,7 @@ type ExpressionRendered {
|
|
|
23142
23269
|
|
|
23143
23270
|
type HostingUserInfo {
|
|
23144
23271
|
email: String!
|
|
23272
|
+
freeAccess: Boolean!
|
|
23145
23273
|
hotWalletAddress: String
|
|
23146
23274
|
remainingCredits: String!
|
|
23147
23275
|
}
|
|
@@ -23376,6 +23504,7 @@ type Mutation {
|
|
|
23376
23504
|
runtimeLoginUser(email: String!, password: String!): String!
|
|
23377
23505
|
runtimeOpenLink(url: String!): Boolean!
|
|
23378
23506
|
runtimeQuit: Boolean!
|
|
23507
|
+
runtimeReinstallUnytDna: PaymentRequestResult!
|
|
23379
23508
|
runtimeRemoveFriends(dids: [String!]!): [String!]!
|
|
23380
23509
|
runtimeRemoveKnownLinkLanguageTemplates(addresses: [String!]!): [String!]!
|
|
23381
23510
|
runtimeRemoveNotification(id: String!): Boolean!
|
|
@@ -23383,9 +23512,13 @@ type Mutation {
|
|
|
23383
23512
|
runtimeRequestLoginVerification(appInfo: AuthInfoInput, email: String!): VerificationRequestResult!
|
|
23384
23513
|
runtimeRequestPayment(amountHOT: String!): PaymentRequestResult!
|
|
23385
23514
|
runtimeRestartHolochain: Boolean!
|
|
23515
|
+
runtimeSendHot(amount: String!, recipient: String!): PaymentRequestResult!
|
|
23386
23516
|
runtimeSetHotWalletAddress(address: String!): Boolean!
|
|
23387
23517
|
runtimeSetMultiUserEnabled(enabled: Boolean!): Boolean!
|
|
23388
23518
|
runtimeSetStatus(status: PerspectiveInput!): Boolean!
|
|
23519
|
+
runtimeSetUnytMembraneProof(proof: String!): PaymentRequestResult!
|
|
23520
|
+
runtimeSetUserCredits(amount: Float!, email: String!): Boolean!
|
|
23521
|
+
runtimeSetUserFreeAccess(email: String!, enabled: Boolean!): Boolean!
|
|
23389
23522
|
runtimeTestEmail(to: String!): Boolean!
|
|
23390
23523
|
runtimeUpdateNotification(id: String!, notification: NotificationInput!): Boolean!
|
|
23391
23524
|
runtimeVerifyEmailCode(code: String!, email: String!, verificationType: String!): String!
|
|
@@ -23499,6 +23632,9 @@ type Query {
|
|
|
23499
23632
|
runtimeGetNetworkMetrics: String!
|
|
23500
23633
|
runtimeHcAgentInfos: String!
|
|
23501
23634
|
runtimeHostingUserInfo: HostingUserInfo!
|
|
23635
|
+
runtimeHotAgentPubkey: String!
|
|
23636
|
+
runtimeHotWalletBalance: String!
|
|
23637
|
+
runtimeHotWalletHistory(page: Float, perPage: Float): String!
|
|
23502
23638
|
runtimeInfo: RuntimeInfo!
|
|
23503
23639
|
runtimeKnownLinkLanguageTemplates: [String!]!
|
|
23504
23640
|
runtimeListUsers: [UserStatistics!]!
|
|
@@ -23506,6 +23642,7 @@ type Query {
|
|
|
23506
23642
|
runtimeMessageOutbox(filter: String): [SentMessage!]!
|
|
23507
23643
|
runtimeMultiUserEnabled: Boolean!
|
|
23508
23644
|
runtimeNotifications: [Notification!]!
|
|
23645
|
+
runtimeUnytVersionInfo: String!
|
|
23509
23646
|
runtimeVerifyStringSignedByDid(data: String!, did: String!, didSigningKeyId: String!, signedData: String!): Boolean!
|
|
23510
23647
|
}
|
|
23511
23648
|
|
|
@@ -23581,8 +23718,11 @@ type UserCreationResult {
|
|
|
23581
23718
|
type UserStatistics {
|
|
23582
23719
|
did: String!
|
|
23583
23720
|
email: String!
|
|
23721
|
+
freeAccess: Boolean!
|
|
23722
|
+
hotWalletAddress: String
|
|
23584
23723
|
lastSeen: String
|
|
23585
23724
|
perspectiveCount: Int!
|
|
23725
|
+
remainingCredits: String!
|
|
23586
23726
|
}
|
|
23587
23727
|
|
|
23588
23728
|
type VerificationRequestResult {
|
|
@@ -23877,6 +24017,18 @@ __decorate([
|
|
|
23877
24017
|
Field(),
|
|
23878
24018
|
__metadata("design:type", Number)
|
|
23879
24019
|
], exports.UserStatistics.prototype, "perspectiveCount", void 0);
|
|
24020
|
+
__decorate([
|
|
24021
|
+
Field(),
|
|
24022
|
+
__metadata("design:type", String)
|
|
24023
|
+
], exports.UserStatistics.prototype, "remainingCredits", void 0);
|
|
24024
|
+
__decorate([
|
|
24025
|
+
Field(),
|
|
24026
|
+
__metadata("design:type", Boolean)
|
|
24027
|
+
], exports.UserStatistics.prototype, "freeAccess", void 0);
|
|
24028
|
+
__decorate([
|
|
24029
|
+
Field(),
|
|
24030
|
+
__metadata("design:type", String)
|
|
24031
|
+
], exports.UserStatistics.prototype, "hotWalletAddress", void 0);
|
|
23880
24032
|
exports.UserStatistics = __decorate([
|
|
23881
24033
|
ObjectType()
|
|
23882
24034
|
], exports.UserStatistics);
|
|
@@ -23902,10 +24054,11 @@ exports.VerificationRequestResult = __decorate([
|
|
|
23902
24054
|
ObjectType()
|
|
23903
24055
|
], exports.VerificationRequestResult);
|
|
23904
24056
|
exports.HostingUserInfo = class HostingUserInfo {
|
|
23905
|
-
constructor(email, remainingCredits, hotWalletAddress) {
|
|
24057
|
+
constructor(email, remainingCredits, hotWalletAddress, freeAccess = false) {
|
|
23906
24058
|
this.email = email;
|
|
23907
24059
|
this.remainingCredits = remainingCredits;
|
|
23908
24060
|
this.hotWalletAddress = hotWalletAddress;
|
|
24061
|
+
this.freeAccess = freeAccess;
|
|
23909
24062
|
}
|
|
23910
24063
|
};
|
|
23911
24064
|
__decorate([
|
|
@@ -23920,9 +24073,13 @@ __decorate([
|
|
|
23920
24073
|
Field(),
|
|
23921
24074
|
__metadata("design:type", String)
|
|
23922
24075
|
], exports.HostingUserInfo.prototype, "hotWalletAddress", void 0);
|
|
24076
|
+
__decorate([
|
|
24077
|
+
Field(),
|
|
24078
|
+
__metadata("design:type", Boolean)
|
|
24079
|
+
], exports.HostingUserInfo.prototype, "freeAccess", void 0);
|
|
23923
24080
|
exports.HostingUserInfo = __decorate([
|
|
23924
24081
|
ObjectType(),
|
|
23925
|
-
__metadata("design:paramtypes", [String, String, String])
|
|
24082
|
+
__metadata("design:paramtypes", [String, String, String, Boolean])
|
|
23926
24083
|
], exports.HostingUserInfo);
|
|
23927
24084
|
exports.PaymentRequestResult = class PaymentRequestResult {
|
|
23928
24085
|
constructor(success, message) {
|
|
@@ -24102,7 +24259,9 @@ let RuntimeResolver = class RuntimeResolver {
|
|
|
24102
24259
|
email: "test@example.com",
|
|
24103
24260
|
did: "did:key:test123",
|
|
24104
24261
|
lastSeen: new Date().toISOString(),
|
|
24105
|
-
perspectiveCount: 5
|
|
24262
|
+
perspectiveCount: 5,
|
|
24263
|
+
remainingCredits: "0",
|
|
24264
|
+
freeAccess: false
|
|
24106
24265
|
}];
|
|
24107
24266
|
}
|
|
24108
24267
|
runtimeRequestLoginVerification(email, appInfo) {
|
|
@@ -24152,7 +24311,7 @@ let RuntimeResolver = class RuntimeResolver {
|
|
|
24152
24311
|
}
|
|
24153
24312
|
// Hosting mutations & queries
|
|
24154
24313
|
runtimeHostingUserInfo() {
|
|
24155
|
-
return new exports.HostingUserInfo("test@example.com", "100000000", null);
|
|
24314
|
+
return new exports.HostingUserInfo("test@example.com", "100000000", null, false);
|
|
24156
24315
|
}
|
|
24157
24316
|
runtimeSetHotWalletAddress(address) {
|
|
24158
24317
|
return true;
|
|
@@ -24160,6 +24319,33 @@ let RuntimeResolver = class RuntimeResolver {
|
|
|
24160
24319
|
runtimeRequestPayment(amountHOT) {
|
|
24161
24320
|
return new exports.PaymentRequestResult(true, "Mock payment of " + amountHOT + " base units credited");
|
|
24162
24321
|
}
|
|
24322
|
+
runtimeSetUserCredits(email, amount) {
|
|
24323
|
+
return true;
|
|
24324
|
+
}
|
|
24325
|
+
runtimeSetUserFreeAccess(email, enabled) {
|
|
24326
|
+
return true;
|
|
24327
|
+
}
|
|
24328
|
+
runtimeReinstallUnytDna() {
|
|
24329
|
+
return new exports.PaymentRequestResult(true, "");
|
|
24330
|
+
}
|
|
24331
|
+
runtimeSendHot(recipient, amount) {
|
|
24332
|
+
return new exports.PaymentRequestResult(true, "");
|
|
24333
|
+
}
|
|
24334
|
+
runtimeSetUnytMembraneProof(proof) {
|
|
24335
|
+
return new exports.PaymentRequestResult(true, "");
|
|
24336
|
+
}
|
|
24337
|
+
runtimeHotWalletBalance() {
|
|
24338
|
+
return "";
|
|
24339
|
+
}
|
|
24340
|
+
runtimeHotWalletHistory(page, perPage) {
|
|
24341
|
+
return "";
|
|
24342
|
+
}
|
|
24343
|
+
runtimeHotAgentPubkey() {
|
|
24344
|
+
return "";
|
|
24345
|
+
}
|
|
24346
|
+
runtimeUnytVersionInfo() {
|
|
24347
|
+
return "";
|
|
24348
|
+
}
|
|
24163
24349
|
};
|
|
24164
24350
|
__decorate([
|
|
24165
24351
|
Mutation(),
|
|
@@ -24507,6 +24693,69 @@ __decorate([
|
|
|
24507
24693
|
__metadata("design:paramtypes", [String]),
|
|
24508
24694
|
__metadata("design:returntype", exports.PaymentRequestResult)
|
|
24509
24695
|
], RuntimeResolver.prototype, "runtimeRequestPayment", null);
|
|
24696
|
+
__decorate([
|
|
24697
|
+
Mutation(),
|
|
24698
|
+
__param(0, Arg()),
|
|
24699
|
+
__param(1, Arg()),
|
|
24700
|
+
__metadata("design:type", Function),
|
|
24701
|
+
__metadata("design:paramtypes", [String, Number]),
|
|
24702
|
+
__metadata("design:returntype", Boolean)
|
|
24703
|
+
], RuntimeResolver.prototype, "runtimeSetUserCredits", null);
|
|
24704
|
+
__decorate([
|
|
24705
|
+
Mutation(),
|
|
24706
|
+
__param(0, Arg()),
|
|
24707
|
+
__param(1, Arg()),
|
|
24708
|
+
__metadata("design:type", Function),
|
|
24709
|
+
__metadata("design:paramtypes", [String, Boolean]),
|
|
24710
|
+
__metadata("design:returntype", Boolean)
|
|
24711
|
+
], RuntimeResolver.prototype, "runtimeSetUserFreeAccess", null);
|
|
24712
|
+
__decorate([
|
|
24713
|
+
Mutation(),
|
|
24714
|
+
__metadata("design:type", Function),
|
|
24715
|
+
__metadata("design:paramtypes", []),
|
|
24716
|
+
__metadata("design:returntype", exports.PaymentRequestResult)
|
|
24717
|
+
], RuntimeResolver.prototype, "runtimeReinstallUnytDna", null);
|
|
24718
|
+
__decorate([
|
|
24719
|
+
Mutation(),
|
|
24720
|
+
__param(0, Arg()),
|
|
24721
|
+
__param(1, Arg()),
|
|
24722
|
+
__metadata("design:type", Function),
|
|
24723
|
+
__metadata("design:paramtypes", [String, String]),
|
|
24724
|
+
__metadata("design:returntype", exports.PaymentRequestResult)
|
|
24725
|
+
], RuntimeResolver.prototype, "runtimeSendHot", null);
|
|
24726
|
+
__decorate([
|
|
24727
|
+
Mutation(),
|
|
24728
|
+
__param(0, Arg()),
|
|
24729
|
+
__metadata("design:type", Function),
|
|
24730
|
+
__metadata("design:paramtypes", [String]),
|
|
24731
|
+
__metadata("design:returntype", exports.PaymentRequestResult)
|
|
24732
|
+
], RuntimeResolver.prototype, "runtimeSetUnytMembraneProof", null);
|
|
24733
|
+
__decorate([
|
|
24734
|
+
Query(),
|
|
24735
|
+
__metadata("design:type", Function),
|
|
24736
|
+
__metadata("design:paramtypes", []),
|
|
24737
|
+
__metadata("design:returntype", String)
|
|
24738
|
+
], RuntimeResolver.prototype, "runtimeHotWalletBalance", null);
|
|
24739
|
+
__decorate([
|
|
24740
|
+
Query(),
|
|
24741
|
+
__param(0, Arg()),
|
|
24742
|
+
__param(1, Arg()),
|
|
24743
|
+
__metadata("design:type", Function),
|
|
24744
|
+
__metadata("design:paramtypes", [Number, Number]),
|
|
24745
|
+
__metadata("design:returntype", String)
|
|
24746
|
+
], RuntimeResolver.prototype, "runtimeHotWalletHistory", null);
|
|
24747
|
+
__decorate([
|
|
24748
|
+
Query(),
|
|
24749
|
+
__metadata("design:type", Function),
|
|
24750
|
+
__metadata("design:paramtypes", []),
|
|
24751
|
+
__metadata("design:returntype", String)
|
|
24752
|
+
], RuntimeResolver.prototype, "runtimeHotAgentPubkey", null);
|
|
24753
|
+
__decorate([
|
|
24754
|
+
Query(),
|
|
24755
|
+
__metadata("design:type", Function),
|
|
24756
|
+
__metadata("design:paramtypes", []),
|
|
24757
|
+
__metadata("design:returntype", String)
|
|
24758
|
+
], RuntimeResolver.prototype, "runtimeUnytVersionInfo", null);
|
|
24510
24759
|
RuntimeResolver = __decorate([
|
|
24511
24760
|
Resolver()
|
|
24512
24761
|
], RuntimeResolver);
|