@bloque/payments-react 0.0.3 → 0.0.4

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 (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +2 -25
package/README.md CHANGED
@@ -70,7 +70,7 @@ import { Bloque } from '@bloque/payments';
70
70
 
71
71
  const bloque = new Bloque({
72
72
  apiKey: process.env.BLOQUE_API_KEY!,
73
- server: 'production',
73
+ mode: 'production',
74
74
  });
75
75
 
76
76
  app.post('/api/payments', async (req, res) => {
@@ -278,7 +278,7 @@ import { Bloque } from '@bloque/payments';
278
278
 
279
279
  const bloque = new Bloque({
280
280
  apiKey: process.env.BLOQUE_API_KEY!,
281
- server: 'production',
281
+ mode: 'production',
282
282
  });
283
283
 
284
284
  app.post('/api/payments', async (req, res) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bloque/payments-react",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "React wrapper for Bloque payments web components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -33,31 +33,8 @@
33
33
  "access": "public",
34
34
  "provenance": true
35
35
  },
36
- "scripts": {
37
- "build": "rslib build",
38
- "clean": "rm -rf node_modules && rm -rf dist",
39
- "check": "biome check --write",
40
- "dev": "rslib build --watch",
41
- "storybook": "storybook dev",
42
- "typecheck": "tsgo --noEmit"
43
- },
44
36
  "dependencies": {
45
- "@bloque/payments-elements": "workspace:*"
46
- },
47
- "devDependencies": {
48
- "@rsbuild/core": "catalog:",
49
- "@rsbuild/plugin-react": "^1.4.2",
50
- "@rslib/core": "catalog:",
51
- "@storybook/addon-docs": "^10.1.4",
52
- "@storybook/addon-onboarding": "^10.1.4",
53
- "@storybook/react": "^10.1.4",
54
- "@types/react": "^19.2.7",
55
- "@typescript/native-preview": "catalog:",
56
- "react": "^19.2.1",
57
- "storybook": "^10.1.4",
58
- "storybook-addon-rslib": "^3.1.0",
59
- "storybook-react-rsbuild": "^3.1.0",
60
- "typescript": "catalog:"
37
+ "@bloque/payments-elements": "0.0.4"
61
38
  },
62
39
  "peerDependencies": {
63
40
  "react": ">=16.9.0",