@ludo.ninja/api 2.8.64 → 2.8.66

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.
@@ -112,6 +112,7 @@ export type IMutation = {
112
112
  setDummy: Scalars['String'];
113
113
  createNonce: Scalars['String'];
114
114
  createTonNonce: Scalars['String'];
115
+ createEvmNonce: Scalars['String'];
115
116
  signInAdminMetamask: IIdentity;
116
117
  signInMetamask: IIdentity;
117
118
  signInTezos: IIdentity;
@@ -652,6 +653,7 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
652
653
  setDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
653
654
  createNonce?: Resolver<IResolversTypes['String'], ParentType, ContextType, RequireFields<IMutationCreateNonceArgs, 'address' | 'blockchain'>>;
654
655
  createTonNonce?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
656
+ createEvmNonce?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
655
657
  signInAdminMetamask?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInAdminMetamaskArgs, 'signature' | 'address' | 'chainId'>>;
656
658
  signInMetamask?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInMetamaskArgs, 'signature' | 'address' | 'chainId'>>;
657
659
  signInTezos?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInTezosArgs, 'signature' | 'pubkey'>>;
@@ -849,6 +851,11 @@ export type IAddWalletTonMutationVariables = Exact<{
849
851
 
850
852
  export type IAddWalletTonMutation = Pick<IMutation, 'addWalletTon'>;
851
853
 
854
+ export type ICreateEvmNonceMutationVariables = Exact<{ [key: string]: never; }>;
855
+
856
+
857
+ export type ICreateEvmNonceMutation = Pick<IMutation, 'createEvmNonce'>;
858
+
852
859
  export type ICreateNonceMutationVariables = Exact<{
853
860
  address: Scalars['String'];
854
861
  blockchain: Scalars['String'];
@@ -1223,6 +1230,35 @@ export function useAddWalletTonMutation(baseOptions?: Apollo.MutationHookOptions
1223
1230
  export type AddWalletTonMutationHookResult = ReturnType<typeof useAddWalletTonMutation>;
1224
1231
  export type AddWalletTonMutationResult = Apollo.MutationResult<IAddWalletTonMutation>;
1225
1232
  export type AddWalletTonMutationOptions = Apollo.BaseMutationOptions<IAddWalletTonMutation, IAddWalletTonMutationVariables>;
1233
+ export const CreateEvmNonceDocument = gql`
1234
+ mutation CreateEvmNonce {
1235
+ createEvmNonce
1236
+ }
1237
+ `;
1238
+ export type ICreateEvmNonceMutationFn = Apollo.MutationFunction<ICreateEvmNonceMutation, ICreateEvmNonceMutationVariables>;
1239
+
1240
+ /**
1241
+ * __useCreateEvmNonceMutation__
1242
+ *
1243
+ * To run a mutation, you first call `useCreateEvmNonceMutation` within a React component and pass it any options that fit your needs.
1244
+ * When your component renders, `useCreateEvmNonceMutation` returns a tuple that includes:
1245
+ * - A mutate function that you can call at any time to execute the mutation
1246
+ * - An object with fields that represent the current status of the mutation's execution
1247
+ *
1248
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
1249
+ *
1250
+ * @example
1251
+ * const [createEvmNonceMutation, { data, loading, error }] = useCreateEvmNonceMutation({
1252
+ * variables: {
1253
+ * },
1254
+ * });
1255
+ */
1256
+ export function useCreateEvmNonceMutation(baseOptions?: Apollo.MutationHookOptions<ICreateEvmNonceMutation, ICreateEvmNonceMutationVariables>) {
1257
+ return Apollo.useMutation<ICreateEvmNonceMutation, ICreateEvmNonceMutationVariables>(CreateEvmNonceDocument, baseOptions);
1258
+ }
1259
+ export type CreateEvmNonceMutationHookResult = ReturnType<typeof useCreateEvmNonceMutation>;
1260
+ export type CreateEvmNonceMutationResult = Apollo.MutationResult<ICreateEvmNonceMutation>;
1261
+ export type CreateEvmNonceMutationOptions = Apollo.BaseMutationOptions<ICreateEvmNonceMutation, ICreateEvmNonceMutationVariables>;
1226
1262
  export const CreateNonceDocument = gql`
1227
1263
  mutation CreateNonce($address: String!, $blockchain: String!, $chainId: String) {
1228
1264
  createNonce(address: $address, blockchain: $blockchain, chainId: $chainId)