@avalix/chroma 0.0.0 → 0.0.1
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.
- package/README.md +2 -2
- package/package.json +33 -30
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ npm install @avalix/chroma @playwright/test
|
|
|
15
15
|
### Using Default Polkadot JS Wallet
|
|
16
16
|
|
|
17
17
|
```typescript
|
|
18
|
-
import {
|
|
18
|
+
import { expect, test } from '@avalix/chroma'
|
|
19
19
|
|
|
20
20
|
test('should connect wallet and sign transaction', async ({ page, importAccount, authorize, approveTx }) => {
|
|
21
21
|
// Import a test account
|
|
@@ -58,7 +58,7 @@ const talismanTest = createWalletTest({
|
|
|
58
58
|
// Create test with custom extension path
|
|
59
59
|
const customTest = createWalletTest({
|
|
60
60
|
walletType: 'polkadot-js',
|
|
61
|
-
walletConfig: {
|
|
61
|
+
walletConfig: {
|
|
62
62
|
customPath: './my-custom-extension'
|
|
63
63
|
}
|
|
64
64
|
})
|
package/package.json
CHANGED
|
@@ -1,21 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@avalix/chroma",
|
|
3
|
-
"version": "0.0.0",
|
|
4
|
-
"description": "End-to-end testing library for Polkadot wallet interactions",
|
|
5
3
|
"type": "module",
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
"
|
|
4
|
+
"version": "0.0.1",
|
|
5
|
+
"description": "End-to-end testing library for Polkadot wallet interactions",
|
|
6
|
+
"author": "Avalix Labs",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"homepage": "https://github.com/avalix-labs/chroma#readme",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/avalix-labs/chroma.git",
|
|
12
|
+
"directory": "packages/chroma"
|
|
15
13
|
},
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"dev": "tsdown --watch"
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/avalix-labs/chroma/issues"
|
|
19
16
|
},
|
|
20
17
|
"keywords": [
|
|
21
18
|
"polkadot",
|
|
@@ -26,28 +23,34 @@
|
|
|
26
23
|
"automation",
|
|
27
24
|
"blockchain"
|
|
28
25
|
],
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"type": "git",
|
|
33
|
-
"url": "git+https://github.com/avalix-labs/chroma.git",
|
|
34
|
-
"directory": "packages/chroma"
|
|
26
|
+
"exports": {
|
|
27
|
+
".": "./dist/index.js",
|
|
28
|
+
"./package.json": "./package.json"
|
|
35
29
|
},
|
|
36
|
-
"
|
|
37
|
-
|
|
30
|
+
"main": "./dist/index.js",
|
|
31
|
+
"module": "./dist/index.js",
|
|
32
|
+
"types": "./dist/index.d.ts",
|
|
33
|
+
"files": [
|
|
34
|
+
"dist"
|
|
35
|
+
],
|
|
36
|
+
"scripts": {
|
|
37
|
+
"build": "tsdown",
|
|
38
|
+
"dev": "tsdown --watch",
|
|
39
|
+
"lint": "eslint --fix ."
|
|
38
40
|
},
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
"@types/node": "^24.3.3",
|
|
42
|
-
"@types/unzipper": "^0.10.10",
|
|
43
|
-
"@playwright/test": "^1.55.0",
|
|
44
|
-
"tsdown": "latest"
|
|
41
|
+
"peerDependencies": {
|
|
42
|
+
"@playwright/test": "^1.55.0"
|
|
45
43
|
},
|
|
46
44
|
"dependencies": {
|
|
47
45
|
"unzipper": "^0.12.3"
|
|
48
46
|
},
|
|
49
|
-
"
|
|
50
|
-
"@
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@antfu/eslint-config": "^5.3.0",
|
|
49
|
+
"@playwright/test": "^1.55.0",
|
|
50
|
+
"@types/node": "^24.3.3",
|
|
51
|
+
"@types/unzipper": "^0.10.10",
|
|
52
|
+
"eslint": "^9.35.0",
|
|
53
|
+
"tsdown": "latest"
|
|
51
54
|
},
|
|
52
55
|
"publishConfig": {
|
|
53
56
|
"access": "public"
|