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 0.4.0 to 1.0.0

24

CHANGELOG.md
# CHANGELOG
**This is the changelog for v1.x.x, which loads AXO SDK v0.6 (boba).**
## 0.4.0
- [#12](https://github.paypal.com/Checkout/accelerated-checkout-loader/pull/12) fixes typo
- [#13](https://github.paypal.com/Checkout/accelerated-checkout-loader/pull/13) chore(update): update package lock
## 0.3.0
- [#8](https://github.paypal.com/Checkout/accelerated-checkout-loader/pull/8) feat(asseturl): add bundleid override and test
- [#9](https://github.paypal.com/Checkout/accelerated-checkout-loader/pull/9) Return locales url
- [#10](https://github.paypal.com/Checkout/accelerated-checkout-loader/pull/10) feature(hcf): add hcf loader
## 0.2.0
- [#4](https://github.paypal.com/Checkout/accelerated-checkout-loader/pull/4) rename connect-loader-component
- [#5](https://github.paypal.com/Checkout/accelerated-checkout-loader/pull/5) paypalcorp to paypal
- [#6](https://github.paypal.com/Checkout/accelerated-checkout-loader/pull/6) uses connect namespace
## 0.0.2
- [#2](https://github.paypal.com/Checkout/accelerated-checkout-loader/pull/2) Make Module Publishable to NPM
- [#3](https://github.paypal.com/Checkout/accelerated-checkout-loader/pull/3) Load axo prod assets for v0
## 0.0.1
- Initial version

2

dist/constants.d.ts
export declare const constants: {
readonly AXO_URL: Record<string, string>;
readonly LOCALE_PATH: "connect-v0/locales/";
readonly LOCALE_PATH: "connect-boba/locales/";
readonly CDNX_PROD: "https://www.paypalobjects.com";
};

@@ -6,6 +6,6 @@ "use strict";

var ASSET_PATH = {
minified: "connect-v0/axo.min.js",
unminified: "connect-v0/axo.js",
minified: "connect-boba/axo.min.js",
unminified: "connect-boba/axo.js",
};
var LOCALE_PATH = "connect-v0/locales/";
var LOCALE_PATH = "connect-boba/locales/";
exports.constants = {

@@ -12,0 +12,0 @@ AXO_URL: ASSET_PATH,

{
"name": "@paypal/connect-loader-component",
"version": "0.4.0",
"version": "1.0.0",
"description": "Loads AXO script",

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

@@ -5,2 +5,4 @@ # accelerated-checkout-loader

**This version (1.x.x) loads AXO SDK v0.6 (boba).**
## Installation

@@ -53,3 +55,3 @@

loadAxo({ minified: true })
loadAxo({ minified: false })
.then(() => {

@@ -56,0 +58,0 @@ console.log("script loaded");

const CDNX_PROD = "https://www.paypalobjects.com";
const ASSET_PATH: Record<string, string> = {
minified: "connect-v0/axo.min.js",
unminified: "connect-v0/axo.js",
minified: "connect-boba/axo.min.js",
unminified: "connect-boba/axo.js",
};
const LOCALE_PATH = "connect-v0/locales/";
const LOCALE_PATH = "connect-boba/locales/";

@@ -10,0 +10,0 @@ export const constants = {

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