Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions apps/examples/nodejs-scripts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
# @lightsparkdev/nodejs-scripts

## 0.0.38

### Patch Changes

- Updated dependencies [97769ad]
- @lightsparkdev/core@1.4.9
- @lightsparkdev/lightspark-sdk@1.9.16

## 0.0.37

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions apps/examples/nodejs-scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lightsparkdev/nodejs-scripts",
"version": "0.0.38",
"version": "0.0.37",
"private": true,
"description": "Example NodeJS scripts for Lightspark JS SDKs",
"main": "index.js",
Expand Down Expand Up @@ -33,8 +33,8 @@
"typescript": "^5.6.2"
},
"dependencies": {
"@lightsparkdev/core": "1.4.9",
"@lightsparkdev/lightspark-sdk": "1.9.16",
"@lightsparkdev/core": "1.4.8",
"@lightsparkdev/lightspark-sdk": "1.9.15",
"commander": "^11.0.0",
"dayjs": "^1.11.7",
"lodash-es": "^4.17.21"
Expand Down
9 changes: 0 additions & 9 deletions apps/examples/oauth-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
# @lightsparkdev/oauth-app

## 0.0.66

### Patch Changes

- Updated dependencies [97769ad]
- @lightsparkdev/ui@1.1.17
- @lightsparkdev/lightspark-sdk@1.9.16
- @lightsparkdev/oauth@0.1.65

## 0.0.65

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions apps/examples/oauth-app/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "@lightsparkdev/oauth-app",
"version": "0.0.66",
"version": "0.0.65",
"private": true,
"dependencies": {
"@emotion/css": "^11.11.0",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@lightsparkdev/lightspark-sdk": "1.9.16",
"@lightsparkdev/lightspark-sdk": "1.9.15",
"@lightsparkdev/oauth": "*",
"@lightsparkdev/ui": "1.1.17",
"@lightsparkdev/ui": "1.1.16",
"react": "^18.2.0",
"react-dom": "^18.1.0",
"react-router-dom": "6.11.2",
Expand Down
8 changes: 0 additions & 8 deletions apps/examples/remote-signing-server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
# @lightsparkdev/remote-signing-server

## 0.0.62

### Patch Changes

- Updated dependencies [97769ad]
- @lightsparkdev/core@1.4.9
- @lightsparkdev/lightspark-sdk@1.9.16

## 0.0.61

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions apps/examples/remote-signing-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lightsparkdev/remote-signing-server",
"version": "0.0.62",
"version": "0.0.61",
"private": true,
"type": "module",
"scripts": {
Expand All @@ -17,8 +17,8 @@
"types": "tsc"
},
"dependencies": {
"@lightsparkdev/core": "1.4.9",
"@lightsparkdev/lightspark-sdk": "1.9.16",
"@lightsparkdev/core": "1.4.8",
"@lightsparkdev/lightspark-sdk": "1.9.15",
"express": "^4.18.2"
},
"devDependencies": {
Expand Down
9 changes: 0 additions & 9 deletions apps/examples/ui-test-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
# @lightsparkdev/ui-test-app

## 0.0.36

### Patch Changes

- Updated dependencies [97769ad]
- Updated dependencies [97769ad]
- @lightsparkdev/core@1.4.9
- @lightsparkdev/ui@1.1.17

## 0.0.35

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions apps/examples/ui-test-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lightsparkdev/ui-test-app",
"version": "0.0.36",
"version": "0.0.35",
"description": "Lightspark UI components",
"author": "Lightspark Inc.",
"main": "./dist/index.js",
Expand Down Expand Up @@ -29,8 +29,8 @@
"@emotion/css": "^11.11.0",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@lightsparkdev/core": "1.4.9",
"@lightsparkdev/ui": "1.1.17",
"@lightsparkdev/core": "1.4.8",
"@lightsparkdev/ui": "1.1.16",
"react": "^18.2.0",
"react-dom": "^18.1.0",
"react-router-dom": "6.11.2"
Expand Down
8 changes: 0 additions & 8 deletions apps/examples/uma-vasp-cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
# @lightsparkdev/uma-vasp-cli

## 0.0.43

### Patch Changes

- Updated dependencies [97769ad]
- @lightsparkdev/core@1.4.9
- @lightsparkdev/lightspark-sdk@1.9.16

## 0.0.42

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions apps/examples/uma-vasp-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lightsparkdev/uma-vasp-cli",
"version": "0.0.43",
"version": "0.0.42",
"private": true,
"description": "CLI for the Demo UMA VASP in ../apps/examples/uma-vasp",
"main": "./dist/index.js",
Expand Down Expand Up @@ -43,8 +43,8 @@
},
"dependencies": {
"@inquirer/prompts": "^1.1.3",
"@lightsparkdev/core": "1.4.9",
"@lightsparkdev/lightspark-sdk": "1.9.16",
"@lightsparkdev/core": "1.4.8",
"@lightsparkdev/lightspark-sdk": "1.9.15",
"@uma-sdk/core": "^1.3.0",
"chalk": "^5.3.0",
"commander": "^11.0.0"
Expand Down
8 changes: 0 additions & 8 deletions apps/examples/uma-vasp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
# @lightsparkdev/uma-vasp

## 0.0.63

### Patch Changes

- Updated dependencies [97769ad]
- @lightsparkdev/core@1.4.9
- @lightsparkdev/lightspark-sdk@1.9.16

## 0.0.62

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions apps/examples/uma-vasp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lightsparkdev/uma-vasp",
"version": "0.0.63",
"version": "0.0.62",
"private": true,
"type": "module",
"scripts": {
Expand All @@ -15,8 +15,8 @@
},
"main": "dist/index.js",
"dependencies": {
"@lightsparkdev/core": "1.4.9",
"@lightsparkdev/lightspark-sdk": "1.9.16",
"@lightsparkdev/core": "1.4.8",
"@lightsparkdev/lightspark-sdk": "1.9.15",
"@uma-sdk/core": "^1.3.0",
"express": "^4.18.2",
"express-async-handler": "^1.2.0",
Expand Down
9 changes: 0 additions & 9 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
# @lightsparkdev/core

## 1.4.9

### Patch Changes

- 97769ad: - Replace secp256k1 with @noble/curves: The native secp256k1 npm package (which requires native compilation/bindings) has been replaced with @noble/curves/secp256k1, a
pure JS implementation. This removes native build dependencies, improving portability and install reliability. Secp256k1SigningKey.sign() now uses @noble/curves API
internally (DER-encoded output is preserved).
- Add 3 new currencies: ZMW (Zambian Kwacha), AED (UAE Dirham), GTQ (Guatemalan Quetzal) — added to CurrencyUnit, conversion maps, formatting, and CurrencyMap type.

## 1.4.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lightsparkdev/core",
"version": "1.4.9",
"version": "1.4.8",
"description": "Lightspark JS SDK",
"author": "Lightspark Inc.",
"keywords": [
Expand Down
12 changes: 12 additions & 0 deletions packages/core/src/utils/currency.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1210,6 +1210,18 @@ export function formatCurrencyStr(
CurrencyUnit.TZS,
CurrencyUnit.UGX,
CurrencyUnit.BWP,
/* Tazapay currencies: Tazapay standardizes all fiat to 2 decimal places,
* so CurrencyAmount values from Tazapay are stored in smallest units (1/100 of base unit)
* even for currencies with no real sub-units (e.g. IDR, VND): */
CurrencyUnit.IDR,
CurrencyUnit.VND,
CurrencyUnit.THB,
CurrencyUnit.MYR,
CurrencyUnit.CAD,
CurrencyUnit.DKK,
CurrencyUnit.AED,
CurrencyUnit.HKD,
CurrencyUnit.SGD,
] as string[];
/* centCurrencies are always provided in the smallest unit, e.g. cents for USD. These should be
* divided by 100 for proper display format: */
Expand Down
7 changes: 0 additions & 7 deletions packages/crypto-wasm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
# @lightsparkdev/crypto-wasm

## 0.1.23

### Patch Changes

- Updated dependencies [97769ad]
- @lightsparkdev/core@1.4.9

## 0.1.22

### Patch Changes
Expand Down
8 changes: 2 additions & 6 deletions packages/crypto-wasm/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{
"name": "@lightsparkdev/crypto-wasm",
"version": "0.1.23",
"repository": {
"type": "git",
"url": "git+https://github.com/lightsparkdev/js-sdk.git"
},
"version": "0.1.22",
"type": "module",
"files": [
"crypto_bg.wasm",
Expand All @@ -16,7 +12,7 @@
"test": "node --experimental-vm-modules $(yarn bin jest) --no-cache --runInBand --bail"
},
"dependencies": {
"@lightsparkdev/core": "1.4.9"
"@lightsparkdev/core": "1.4.8"
},
"devDependencies": {
"jest": "^29.6.2",
Expand Down
11 changes: 0 additions & 11 deletions packages/lightspark-cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
# @lightsparkdev/lightspark-cli

## 0.1.16

### Patch Changes

- 97769ad: - Replace secp256k1 with @noble/curves: Same dependency swap — secp256k1 replaced with @noble/curves for key generation and validation. Removes native build
requirement.
- Updated dependencies [97769ad]
- @lightsparkdev/core@1.4.9
- @lightsparkdev/crypto-wasm@0.1.23
- @lightsparkdev/lightspark-sdk@1.9.16

## 0.1.15

### Patch Changes
Expand Down
12 changes: 4 additions & 8 deletions packages/lightspark-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
{
"name": "@lightsparkdev/lightspark-cli",
"version": "0.1.16",
"version": "0.1.15",
"description": "CLI for the Lightspark JS sdk",
"repository": {
"type": "git",
"url": "git+https://github.com/lightsparkdev/js-sdk.git"
},
"main": "./dist/index.js",
"bin": {
"lightspark": "./dist/index.js"
Expand Down Expand Up @@ -47,9 +43,9 @@
},
"dependencies": {
"@inquirer/prompts": "^1.1.3",
"@lightsparkdev/core": "1.4.9",
"@lightsparkdev/crypto-wasm": "0.1.23",
"@lightsparkdev/lightspark-sdk": "1.9.16",
"@lightsparkdev/core": "1.4.8",
"@lightsparkdev/crypto-wasm": "0.1.22",
"@lightsparkdev/lightspark-sdk": "1.9.15",
"@noble/curves": "^1.9.7",
"commander": "^11.0.0",
"dayjs": "^1.11.7",
Expand Down
8 changes: 0 additions & 8 deletions packages/lightspark-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
# @lightsparkdev/lightspark-sdk

## 1.9.16

### Patch Changes

- Updated dependencies [97769ad]
- @lightsparkdev/core@1.4.9
- @lightsparkdev/crypto-wasm@0.1.23

## 1.9.15

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/lightspark-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lightsparkdev/lightspark-sdk",
"version": "1.9.16",
"version": "1.9.15",
"description": "Lightspark JS SDK",
"author": "Lightspark Inc.",
"keywords": [
Expand Down Expand Up @@ -70,8 +70,8 @@
},
"license": "Apache-2.0",
"dependencies": {
"@lightsparkdev/core": "1.4.9",
"@lightsparkdev/crypto-wasm": "0.1.23",
"@lightsparkdev/core": "1.4.8",
"@lightsparkdev/crypto-wasm": "0.1.22",
"dayjs": "^1.11.7",
"dotenv": "^16.3.1",
"graphql": "^16.6.0",
Expand Down
7 changes: 0 additions & 7 deletions packages/oauth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
# @lightsparkdev/oauth

## 0.1.65

### Patch Changes

- Updated dependencies [97769ad]
- @lightsparkdev/core@1.4.9

## 0.1.64

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/oauth/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lightsparkdev/oauth",
"version": "0.1.65",
"version": "0.1.64",
"private": true,
"description": "Lightspark JS Oauth SDK",
"author": "Lightspark Inc.",
Expand Down Expand Up @@ -55,7 +55,7 @@
},
"license": "Apache-2.0",
"dependencies": {
"@lightsparkdev/core": "1.4.9",
"@lightsparkdev/core": "1.4.8",
"@openid/appauth": "^1.3.1",
"auto-bind": "^5.0.1",
"dayjs": "^1.11.7"
Expand Down
12 changes: 0 additions & 12 deletions packages/ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
# @lightsparkdev/ui

## 1.1.17

### Patch Changes

- 97769ad: - CodeInput: Clicking the unified code input now moves the cursor to the first empty input field instead of wherever the user clicked, improving OTP entry UX.
- CardForm: CardFormContentFull now sets width: 100% for proper full-width layout.
- CardPage: New headerRightContent prop to render content on the right side of the card page header.
- DataManagerTable filters: AppliedButtonsContainer extracted to a shared component with max-width: 100% on buttons (prevents overflow for long filter values).
- New icon: BankSolid icon added (exported as CentralBankSolid).
- Updated dependencies [97769ad]
- @lightsparkdev/core@1.4.9

## 1.1.16

### Patch Changes
Expand Down
Loading