@trustpayments/js-payments-card 2.2.1246 → 2.2.1248

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +19 -0
  2. package/dist/index.js +2 -4
  3. package/package.json +15 -15
package/README.md CHANGED
@@ -14,6 +14,25 @@ npm start
14
14
 
15
15
  Then open address `https://localhost:8443` in your web browser.
16
16
 
17
+ ## Private package registry (@trustpayments)
18
+
19
+ `@trustpayments/*` dependencies are pulled from the private GitLab group Package
20
+ Registry, not from public npmjs.org. The scope mapping is in the committed
21
+ `.npmrc` (no token in it). You configure the auth token once in your own
22
+ user-level `~/.npmrc`, outside this repo.
23
+
24
+ 1. Create a GitLab token with `read_package_registry` scope on the
25
+ `securetrading-gl/software-development-kit` group (a Group Access Token or a
26
+ Personal Access Token both work).
27
+ 2. Store it once in your user-level `~/.npmrc`:
28
+ ```
29
+ npm config set -- //gitlab.com/api/v4/groups/9992134/-/packages/npm/:_authToken=<token>
30
+ ```
31
+ 3. Run `npm install` as usual.
32
+
33
+ The token lives only in your `~/.npmrc` (never in this repo). The committed
34
+ `.npmrc` holds only the scope-to-registry mapping.
35
+
17
36
  ## Technology Stack:
18
37
 
19
38
  ##### Tools and languages:
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- //#region src/components/card/Card.html?raw
1
+ // src/components/card/Card.html?raw
2
2
  var e = {
3
3
  ariaInvalid: "false",
4
4
  ariaRequired: "true",
@@ -1341,8 +1341,7 @@ var e = {
1341
1341
  toLower = (e) => e && e.toLowerCase();
1342
1342
  clearContent = (e) => this.setContent(e, "");
1343
1343
  };
1344
- //#endregion
1345
- //#region node_modules/@trustpayments/ts-luhn-check/dist/index.js
1344
+ // node_modules/@trustpayments/ts-luhn-check/dist/index.js
1346
1345
  function O(e) {
1347
1346
  let t = e.replace(/\s/g, ""), n = !1, r = t.length, i = 0, a = [
1348
1347
  0,
@@ -1740,5 +1739,4 @@ var k = (e) => !!(e && e % 10 == 0), A = class e {
1740
1739
  return e === document.activeElement;
1741
1740
  }
1742
1741
  };
1743
- //#endregion
1744
1742
  export { P as Card };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trustpayments/js-payments-card",
3
- "version": "2.2.1246",
3
+ "version": "2.2.1248",
4
4
  "description": "TypeScript Payment Card",
5
5
  "author": "Trust Payments <support@trustpayments.com>",
6
6
  "homepage": "https://docs.trustpayments.com",
@@ -71,34 +71,34 @@
71
71
  },
72
72
  "devDependencies": {
73
73
  "@eslint/js": "10.0.1",
74
- "@microsoft/api-extractor": "7.59.0",
75
- "@stylistic/stylelint-plugin": "5.3.0",
74
+ "@microsoft/api-extractor": "7.60.1",
75
+ "@stylistic/stylelint-plugin": "5.3.1",
76
76
  "@typescript-eslint/eslint-plugin": "8.72.1",
77
77
  "@typescript-eslint/parser": "8.72.1",
78
78
  "@vitejs/plugin-basic-ssl": "2.3.0",
79
79
  "@vitest/coverage-v8": "5.0.5",
80
- "@vitest/eslint-plugin": "1.6.27",
80
+ "@vitest/eslint-plugin": "1.6.28",
81
81
  "better-npm-audit": "3.11.0",
82
82
  "eslint-config-prettier": "10.1.8",
83
83
  "eslint-plugin-compat": "7.0.2",
84
- "eslint-plugin-prettier": "5.5.6",
84
+ "eslint-plugin-prettier": "5.5.7",
85
85
  "eslint-plugin-unused-imports": "4.4.1",
86
- "jsdom": "30.0.1",
87
- "prettier": "3.9.6",
88
- "sass": "1.103.1",
89
- "stylelint": "17.14.1",
90
- "stylelint-scss": "7.2.0",
86
+ "jsdom": "30.1.3",
87
+ "prettier": "3.9.10",
88
+ "sass": "1.107.1",
89
+ "stylelint": "17.16.0",
90
+ "stylelint-scss": "7.4.0",
91
91
  "typescript": "6.0.3",
92
92
  "typescript-eslint": "8.72.1",
93
- "unplugin-dts": "1.1.0",
93
+ "unplugin-dts": "1.1.2",
94
94
  "vite": "8.3.5",
95
- "vite-plugin-css-injected-by-js": "5.0.2",
95
+ "vite-plugin-css-injected-by-js": "5.0.3",
96
96
  "vite-plugin-html": "3.2.2",
97
97
  "vitest": "5.0.5"
98
98
  },
99
99
  "dependencies": {
100
- "@trustpayments/ts-iin-lookup": "2.0.712",
101
- "@trustpayments/ts-luhn-check": "2.0.712"
100
+ "@trustpayments/ts-iin-lookup": "2.0.734",
101
+ "@trustpayments/ts-luhn-check": "2.0.734"
102
102
  },
103
- "gitHead": "138e1f9c61ab7d737078c504cf591d376335c05a"
103
+ "gitHead": "cebb216c48e1527bfc22b75888f5ce7f1634535d"
104
104
  }