@notifi-network/notifi-graphql
Advanced tools
Comparing version 0.90.8 to 0.90.9-alpha.5
@@ -45,3 +45,3 @@ "use strict"; | ||
// package.json | ||
var version = "0.90.8"; | ||
var version = "0.90.9-alpha.5+a936d88f"; | ||
@@ -645,2 +645,13 @@ // ../../node_modules/tslib/tslib.es6.js | ||
`; | ||
var BeginLogInWithWeb3Document = lib_default` | ||
mutation beginLogInWithWeb3($authAddress: String!, $blockchainType: WalletBlockchain!, $dappAddress: String!, $authType: Web3AuthType!, $walletPubkey: String) { | ||
beginLogInWithWeb3( | ||
beginLogInWithWeb3Input: {authAddress: $authAddress, blockchainType: $blockchainType, dappAddress: $dappAddress, authType: $authType, walletPubkey: $walletPubkey} | ||
) { | ||
beginLogInWithWeb3Response { | ||
nonce | ||
} | ||
} | ||
} | ||
`; | ||
var BroadcastMessageDocument = lib_default` | ||
@@ -665,2 +676,13 @@ mutation broadcastMessage($idempotencyKey: String, $topicName: String!, $targetTemplates: [KeyValuePairOfTargetTypeAndStringInput!], $variables: [KeyValuePairOfStringAndStringInput!], $timestamp: Long!, $walletBlockchain: WalletBlockchain!, $signature: String!) { | ||
${UserFragmentFragmentDoc}`; | ||
var CompleteLogInWithWeb3Document = lib_default` | ||
mutation completeLogInWithWeb3($nonce: String!, $signature: String!, $signedMessage: String!, $signingAddress: String!, $signingPubkey: String!) { | ||
completeLogInWithWeb3( | ||
completeLogInWithWeb3Input: {nonce: $nonce, signature: $signature, signedMessage: $signedMessage, signingAddress: $signingAddress, signingPubkey: $signingPubkey} | ||
) { | ||
user { | ||
...UserFragment | ||
} | ||
} | ||
} | ||
${UserFragmentFragmentDoc}`; | ||
var ConnectWalletDocument = lib_default` | ||
@@ -1188,2 +1210,5 @@ mutation connectWallet($walletPublicKey: String!, $timestamp: Long!, $signature: String!, $walletBlockchain: WalletBlockchain!, $accountId: String, $connectWalletConflictResolutionTechnique: ConnectWalletConflictResolutionTechnique) { | ||
}, | ||
beginLogInWithWeb3(variables, requestHeaders) { | ||
return withWrapper((wrappedRequestHeaders) => client.request(BeginLogInWithWeb3Document, variables, __spreadValues(__spreadValues({}, requestHeaders), wrappedRequestHeaders)), "beginLogInWithWeb3", "mutation"); | ||
}, | ||
broadcastMessage(variables, requestHeaders) { | ||
@@ -1195,2 +1220,5 @@ return withWrapper((wrappedRequestHeaders) => client.request(BroadcastMessageDocument, variables, __spreadValues(__spreadValues({}, requestHeaders), wrappedRequestHeaders)), "broadcastMessage", "mutation"); | ||
}, | ||
completeLogInWithWeb3(variables, requestHeaders) { | ||
return withWrapper((wrappedRequestHeaders) => client.request(CompleteLogInWithWeb3Document, variables, __spreadValues(__spreadValues({}, requestHeaders), wrappedRequestHeaders)), "completeLogInWithWeb3", "mutation"); | ||
}, | ||
connectWallet(variables, requestHeaders) { | ||
@@ -1642,2 +1670,10 @@ return withWrapper((wrappedRequestHeaders) => client.request(ConnectWalletDocument, variables, __spreadValues(__spreadValues({}, requestHeaders), wrappedRequestHeaders)), "connectWallet", "mutation"); | ||
} | ||
async beginLogInWithWeb3(variables) { | ||
const headers = this._requestHeaders(); | ||
return this._typedClient.beginLogInWithWeb3(variables, headers); | ||
} | ||
async completeLogInWithWeb3(variables) { | ||
const headers = this._requestHeaders(); | ||
return this._typedClient.completeLogInWithWeb3(variables, headers); | ||
} | ||
_requestHeaders() { | ||
@@ -1644,0 +1680,0 @@ const requestId = (0, import_uuid.v4)(); |
@@ -1,5 +0,2 @@ | ||
import { NotifiDataplaneClient } from '@notifi-network/notifi-dataplane'; | ||
import { GraphQLClient } from 'graphql-request'; | ||
import { FusionMessage } from 'notifi-dataplane/lib/types/FusionMessage'; | ||
import { PublishFusionMessageResponse } from 'notifi-dataplane/lib/types/PublishFusionMessageResponse'; | ||
import { v4 as uuid } from 'uuid'; | ||
@@ -14,59 +11,60 @@ | ||
implements | ||
Operations.AddSourceToSourceGroupService, | ||
Operations.BeginLogInByTransactionService, | ||
Operations.BroadcastMessageService, | ||
Operations.CompleteLogInByTransactionService, | ||
Operations.ConnectWalletService, | ||
Operations.CreateAlertService, | ||
Operations.CreateDirectPushAlertService, | ||
Operations.CreateEmailTargetService, | ||
Operations.CreateSmsTargetService, | ||
Operations.CreateSourceService, | ||
Operations.CreateSourceGroupService, | ||
Operations.CreateSupportConversationService, | ||
Operations.CreateTargetGroupService, | ||
Operations.CreateTelegramTargetService, | ||
Operations.CreateTenantUserService, | ||
Operations.CreateWebhookTargetService, | ||
Operations.DeleteAlertService, | ||
Operations.DeleteUserAlertService, | ||
Operations.DeleteSourceGroupService, | ||
Operations.DeleteTargetGroupService, | ||
Operations.DeleteWebhookTargetService, | ||
Operations.FetchDataService, | ||
Operations.FindTenantConfigService, | ||
Operations.GetAlertsService, | ||
Operations.GetConfigurationForDappService, | ||
Operations.GetConversationMessagesService, | ||
Operations.GetConnectedWalletsService, | ||
Operations.GetEmailTargetsService, | ||
Operations.GetFiltersService, | ||
Operations.GetFusionNotificationHistoryService, | ||
Operations.GetNotificationHistoryService, | ||
Operations.GetSmsTargetsService, | ||
Operations.GetSourceConnectionService, | ||
Operations.GetSourceGroupsService, | ||
Operations.GetSourcesService, | ||
Operations.GetTargetGroupsService, | ||
Operations.GetTelegramTargetsService, | ||
Operations.GetTenantConnectedWalletsService, | ||
Operations.GetTenantUserService, | ||
Operations.GetTopicsService, | ||
Operations.GetWebhookTargetsService, | ||
Operations.LogInFromDappService, | ||
Operations.LogInFromServiceService, | ||
Operations.RefreshAuthorizationService, | ||
Operations.RemoveSourceFromSourceGroupService, | ||
Operations.SendConversationMessageService, | ||
Operations.SendEmailTargetVerificationRequestService, | ||
Operations.SendMessageService, | ||
Operations.UpdateSourceGroupService, | ||
Operations.UpdateTargetGroupService, | ||
Operations.CreateDiscordTargetService, | ||
Operations.GetDiscordTargetsService, | ||
Operations.GetUnreadNotificationHistoryCountService, | ||
Operations.MarkFusionNotificationHistoryAsReadService, | ||
Operations.UpdateUserSettingsService, | ||
Operations.GetUserSettingsService | ||
{ | ||
Operations.AddSourceToSourceGroupService, | ||
Operations.BeginLogInByTransactionService, | ||
Operations.BroadcastMessageService, | ||
Operations.CompleteLogInByTransactionService, | ||
Operations.ConnectWalletService, | ||
Operations.CreateAlertService, | ||
Operations.CreateDirectPushAlertService, | ||
Operations.CreateEmailTargetService, | ||
Operations.CreateSmsTargetService, | ||
Operations.CreateSourceService, | ||
Operations.CreateSourceGroupService, | ||
Operations.CreateSupportConversationService, | ||
Operations.CreateTargetGroupService, | ||
Operations.CreateTelegramTargetService, | ||
Operations.CreateTenantUserService, | ||
Operations.CreateWebhookTargetService, | ||
Operations.DeleteAlertService, | ||
Operations.DeleteUserAlertService, | ||
Operations.DeleteSourceGroupService, | ||
Operations.DeleteTargetGroupService, | ||
Operations.DeleteWebhookTargetService, | ||
Operations.FetchDataService, | ||
Operations.FindTenantConfigService, | ||
Operations.GetAlertsService, | ||
Operations.GetConfigurationForDappService, | ||
Operations.GetConversationMessagesService, | ||
Operations.GetConnectedWalletsService, | ||
Operations.GetEmailTargetsService, | ||
Operations.GetFiltersService, | ||
Operations.GetFusionNotificationHistoryService, | ||
Operations.GetNotificationHistoryService, | ||
Operations.GetSmsTargetsService, | ||
Operations.GetSourceConnectionService, | ||
Operations.GetSourceGroupsService, | ||
Operations.GetSourcesService, | ||
Operations.GetTargetGroupsService, | ||
Operations.GetTelegramTargetsService, | ||
Operations.GetTenantConnectedWalletsService, | ||
Operations.GetTenantUserService, | ||
Operations.GetTopicsService, | ||
Operations.GetWebhookTargetsService, | ||
Operations.LogInFromDappService, | ||
Operations.LogInFromServiceService, | ||
Operations.RefreshAuthorizationService, | ||
Operations.RemoveSourceFromSourceGroupService, | ||
Operations.SendConversationMessageService, | ||
Operations.SendEmailTargetVerificationRequestService, | ||
Operations.SendMessageService, | ||
Operations.UpdateSourceGroupService, | ||
Operations.UpdateTargetGroupService, | ||
Operations.CreateDiscordTargetService, | ||
Operations.GetDiscordTargetsService, | ||
Operations.GetUnreadNotificationHistoryCountService, | ||
Operations.MarkFusionNotificationHistoryAsReadService, | ||
Operations.UpdateUserSettingsService, | ||
Operations.GetUserSettingsService, | ||
Operations.BeginLogInWithWeb3Service, | ||
Operations.CompleteLogInWithWeb3Service { | ||
private _jwt: string | undefined; | ||
@@ -522,2 +520,18 @@ private _typedClient: ReturnType<typeof getSdk>; | ||
async beginLogInWithWeb3( | ||
variables: Generated.BeginLogInWithWeb3MutationVariables, | ||
): Promise<Generated.BeginLogInWithWeb3Mutation> { | ||
const headers = this._requestHeaders(); | ||
return this._typedClient.beginLogInWithWeb3(variables, headers); | ||
} | ||
async completeLogInWithWeb3( | ||
variables: Generated.CompleteLogInWithWeb3MutationVariables, | ||
): Promise<Generated.CompleteLogInWithWeb3Mutation> { | ||
const headers = this._requestHeaders(); | ||
return this._typedClient.completeLogInWithWeb3(variables, headers); | ||
} | ||
private _requestHeaders(): HeadersInit { | ||
@@ -536,2 +550,3 @@ const requestId = uuid(); | ||
} | ||
} |
@@ -59,1 +59,3 @@ export * from './AddSourceToSourceGroup'; | ||
export * from './UpdateUserSettings'; | ||
export * from './BeginLogInWithWeb3'; | ||
export * from './CompleteLogInWithWeb3'; |
{ | ||
"name": "@notifi-network/notifi-graphql", | ||
"version": "0.90.8", | ||
"version": "0.90.9-alpha.5+a936d88f", | ||
"description": "The GraphQL API for Notifi", | ||
@@ -46,3 +46,3 @@ "main": "./dist/index.js", | ||
}, | ||
"gitHead": "284bc26cd4f16995fafc7c59ce04601c4d2b5841" | ||
"gitHead": "a936d88fa536f87ccb3672c33b3245c583080371" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
598593
154
13899
1