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-beta.1

dist/lib/safeLoadBtModule/index.d.ts

18

CHANGELOG.md

@@ -5,2 +5,20 @@ # CHANGELOG

## ⚠️ 1.1.0-beta.1
Uses a modified version of `asset-loader` without Promises polyfill to unblock us tmp from publishing PP v5 SDK w/ AXO. See [slack thread](https://paypal.slack.com/archives/C04FBV3163E/p1701287607895859) for more details.
This should only be used until we have resolved the peer dependency issue in PP v5 sdk.
- [#19](https://github.paypal.com/Checkout/accelerated-checkout-loader/pull/19) Uses a modified version of `asset-loader` without Promises polyfill to unblock us tmp from publishing PP v5 SDK w/ AXO.
## 1.1.0
- [#18](https://github.paypal.com/Checkout/accelerated-checkout-loader/pull/18) Adds support for loading PPCP & BT
## 1.0.0 (Deprecated)
Deprecated as the version
- [#16](https://github.paypal.com/Checkout/accelerated-checkout-loader/pull/16) chore: update changelog and README
- [#17](https://github.paypal.com/Checkout/accelerated-checkout-loader/pull/17) chore: update version to boba
## 0.4.0

@@ -7,0 +25,0 @@

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-beta.1",
"description": "Loads AXO script",

@@ -33,3 +33,3 @@ "main": "dist/index.js",

"dependencies": {
"@braintree/asset-loader": "0.4.4",
"@braintree/asset-loader": "2.0.0",
"envify": "^4.1.0",

@@ -50,3 +50,6 @@ "typescript": "^4.6.4"

"typescript": "^4.6.4"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
}
}

@@ -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