Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@magic-sdk/provider

Package Overview
Dependencies
Maintainers
8
Versions
711
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@magic-sdk/provider - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

6

CHANGELOG.md

@@ -15,2 +15,8 @@ ## Upcoming Changes

## `2.1.1` - 06/24/2020
#### Changed
- The argument type given to the default `"error"` event of `PromiEvent` is now `any` (in line with native Promise typings).
## `2.1.0` - 06/23/2020

@@ -17,0 +23,0 @@

2

dist/modules/auth/index.d.ts

@@ -16,3 +16,3 @@ import { LoginWithMagicLinkConfiguration } from '@magic-sdk/types';

done: (result: string | null) => void;
error: (err: import("../..").MagicSDKError | import("../..").MagicRPCError) => void;
error: (reason: any) => void;
settled: () => void;

@@ -19,0 +19,0 @@ }>;

import { JsonRpcRequestPayload } from '@magic-sdk/types';
import { MagicRPCError } from '../core/sdk-exceptions';
import { PayloadTransport } from '../core/payload-transport';

@@ -23,9 +22,9 @@ import { SDKBase } from '../core/sdk';

done: (result: ResultType) => void;
error: (err: MagicRPCError | import("../core/sdk-exceptions").MagicSDKError) => void;
error: (reason: any) => void;
settled: () => void;
} : Events & {
done: (result: ResultType) => void;
error: (err: MagicRPCError | import("../core/sdk-exceptions").MagicSDKError) => void;
error: (reason: any) => void;
settled: () => void;
}>;
}
import { JsonRpcRequestPayload, JsonRpcRequestCallback, JsonRpcBatchRequestCallback, JsonRpcResponsePayload } from '@magic-sdk/types';
import { BaseModule } from '../base-module';
import { MagicRPCError } from '../../core/sdk-exceptions';
import { PromiEvent } from '../../util/promise-tools';

@@ -17,3 +16,3 @@ import { TypedEmitter } from '../../util/events';

done: (result: string[]) => void;
error: (err: import("../../core/sdk-exceptions").MagicSDKError | MagicRPCError) => void;
error: (reason: any) => void;
settled: () => void;

@@ -20,0 +19,0 @@ }>;

@@ -14,3 +14,3 @@ import { GetIdTokenConfiguration, MagicUserMetadata, GenerateIdTokenConfiguration, UpdateEmailConfiguration } from '@magic-sdk/types';

done: (result: string) => void;
error: (err: import("../..").MagicSDKError | import("../..").MagicRPCError) => void;
error: (reason: any) => void;
settled: () => void;

@@ -21,3 +21,3 @@ }>;

done: (result: string) => void;
error: (err: import("../..").MagicSDKError | import("../..").MagicRPCError) => void;
error: (reason: any) => void;
settled: () => void;

@@ -28,3 +28,3 @@ }>;

done: (result: MagicUserMetadata) => void;
error: (err: import("../..").MagicSDKError | import("../..").MagicRPCError) => void;
error: (reason: any) => void;
settled: () => void;

@@ -35,3 +35,3 @@ }>;

done: (result: string | null) => void;
error: (err: import("../..").MagicSDKError | import("../..").MagicRPCError) => void;
error: (reason: any) => void;
settled: () => void;

@@ -42,3 +42,3 @@ }>;

done: (result: boolean) => void;
error: (err: import("../..").MagicSDKError | import("../..").MagicRPCError) => void;
error: (reason: any) => void;
settled: () => void;

@@ -49,3 +49,3 @@ }>;

done: (result: boolean) => void;
error: (err: import("../..").MagicSDKError | import("../..").MagicRPCError) => void;
error: (reason: any) => void;
settled: () => void;

@@ -52,0 +52,0 @@ }>;

import { TypedEmitter, EventsDefinition } from './events';
import { MagicSDKError, MagicRPCError } from '../core/sdk-exceptions';
/**

@@ -21,3 +20,3 @@ * Extends `Promise` with a polymorphic `this` type to accomodate arbitrary

done: (result: TResult) => void;
error: (err: MagicSDKError | MagicRPCError) => void;
error: (reason: any) => void;
settled: () => void;

@@ -24,0 +23,0 @@ };

{
"name": "@magic-sdk/provider",
"version": "2.1.0",
"version": "2.1.1",
"description": "Core business logic for Magic SDK packages.",

@@ -58,3 +58,3 @@ "author": "Fortmatic <team@fortmatic.com> (https://fortmatic.com/)",

},
"gitHead": "d6e6cfcc8598080578e6ce8bc0f6900062675569"
"gitHead": "1e4f9235724569ee568c181cd00317d5a1790f00"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc