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

@paypal/connect-loader-component

Package Overview
Dependencies
Maintainers
23
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paypal/connect-loader-component - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

dist/lib/safeLoadBtModule/index.d.ts

2

dist/index.d.ts

@@ -1,4 +0,4 @@

import loadAxo = require("./load-axo-script");
import loadAxo = require("./loadAxoScript");
import { constants } from "./constants";
export { constants };
export { loadAxo };
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.loadAxo = exports.constants = void 0;
var loadAxo = require("./load-axo-script");
var loadAxo = require("./loadAxoScript");
exports.loadAxo = loadAxo;
var constants_1 = require("./constants");
Object.defineProperty(exports, "constants", { enumerable: true, get: function () { return constants_1.constants; } });
type LoadAxoOptionsMetaData = {
bundleIdOverride?: string;
};
type Client = {
getVersion: () => string;
};
export type GenerateAssetUrl = {

@@ -12,6 +9,12 @@ assetUrl: string;

export type LoadAxoOptions = {
client: Client;
platform: AxoSupportedPlatform;
btSdkVersion: string;
minified?: boolean;
metadata?: LoadAxoOptionsMetaData;
};
export declare const AxoSupportedPlatforms: {
readonly BT: "BT";
readonly PPCP: "PPCP";
};
export type AxoSupportedPlatform = keyof typeof AxoSupportedPlatforms;
export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AxoSupportedPlatforms = void 0;
exports.AxoSupportedPlatforms = {
BT: "BT",
PPCP: "PPCP",
};
{
"name": "@paypal/connect-loader-component",
"version": "1.0.0",
"version": "1.1.0",
"description": "Loads AXO script",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -1,2 +0,2 @@

import loadAxo = require("./load-axo-script");
import loadAxo = require("./loadAxoScript");
import { constants } from "./constants";

@@ -3,0 +3,0 @@

@@ -5,6 +5,2 @@ type LoadAxoOptionsMetaData = {

type Client = {
getVersion: () => string;
};
export type GenerateAssetUrl = {

@@ -16,5 +12,13 @@ assetUrl: string;

export type LoadAxoOptions = {
client: Client;
platform: AxoSupportedPlatform;
btSdkVersion: string;
minified?: boolean;
metadata?: LoadAxoOptionsMetaData;
};
export const AxoSupportedPlatforms = {
BT: "BT",
PPCP: "PPCP",
} as const;
export type AxoSupportedPlatform = keyof typeof AxoSupportedPlatforms;
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