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

@dynamic-labs/client

Package Overview
Dependencies
Maintainers
1
Versions
240
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dynamic-labs/client - npm Package Compare versions

Comparing version 4.0.0-alpha.2 to 4.0.0-alpha.3

2

package.js
'use client'
var version = "4.0.0-alpha.2";
var version = "4.0.0-alpha.3";
export { version };
{
"name": "@dynamic-labs/client",
"version": "4.0.0-alpha.2",
"version": "4.0.0-alpha.3",
"repository": {

@@ -30,5 +30,5 @@ "type": "git",

"@vue/reactivity": "3.4.21",
"@dynamic-labs/logger": "4.0.0-alpha.2",
"@dynamic-labs/message-transport": "4.0.0-alpha.2",
"@dynamic-labs/types": "4.0.0-alpha.2",
"@dynamic-labs/logger": "4.0.0-alpha.3",
"@dynamic-labs/message-transport": "4.0.0-alpha.3",
"@dynamic-labs/types": "4.0.0-alpha.3",
"eventemitter3": "5.0.1"

@@ -35,0 +35,0 @@ },

'use client'
import { Logger } from '@dynamic-labs/logger';
import { createAuthModule } from '../modules/authModule/authModule.js';

@@ -19,2 +20,3 @@ import { createNetworksModule } from '../modules/networksModule/networksModule.js';

const createClient = (props) => {
Logger.setEnvironmentId(props.environmentId);
const core = createCore(props);

@@ -21,0 +23,0 @@ const baseExtendable = new Extendable(core);

@@ -25,3 +25,3 @@ import { ClientProps } from '../client';

setAppOrigin: (appOrigin: string) => string;
setPlatform: (platform: "browser" | "react-native" | "flutter") => "browser" | "react-native" | "flutter";
setPlatform: (platform: "browser" | "react-native" | "flutter") => void;
setRedirectUrl: (redirectUrl: string) => string;

@@ -28,0 +28,0 @@ };

@@ -16,3 +16,8 @@ 'use client'

}
logger.error(error);
/**
* Uses regular console.error to log the error
* so we dont send the error to the backend twice
*/
// eslint-disable-next-line no-console
console.error(error);
});

@@ -25,2 +30,5 @@ return {

state.error = error;
/**
* Uses the logger so the error is sent to the backend
*/
logger.error(state.error);

@@ -27,0 +35,0 @@ },

@@ -9,4 +9,4 @@ import { ClientManifest, MessageTransportWithDefaultOrigin } from '@dynamic-labs/message-transport';

setAppOrigin: (appOrigin: string) => string;
setPlatform: (platform: ClientManifest['platform']) => "browser" | "react-native" | "flutter";
setPlatform: (platform: ClientManifest['platform']) => void;
setRedirectUrl: (redirectUrl: string) => string;
};
'use client'
import { __awaiter } from '../../../../../_virtual/_tslib.js';
import { createRequestChannel } from '@dynamic-labs/message-transport';
import { Logger } from '@dynamic-labs/logger';
import { logger } from '../../../../utils/logger/logger.js';

@@ -27,3 +28,6 @@ import { createPartialManifest } from './createPartialManifest/createPartialManifest.js';

setAppOrigin: (appOrigin) => (manifest.appOrigin = appOrigin),
setPlatform: (platform) => (manifest.platform = platform),
setPlatform: (platform) => {
Logger.globalMetaData.set('platform', platform);
manifest.platform = platform;
},
setRedirectUrl: (redirectUrl) => (manifest.redirectUrl = redirectUrl),

@@ -30,0 +34,0 @@ };

Sorry, the diff of this file is too big to display

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

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