@requestnetwork/transaction-manager 0.26.10-next.1608 → 0.26.10-next.1620

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/CHANGELOG.md +137 -571
  2. package/README.md +4 -2
  3. package/package.json +7 -6
package/README.md CHANGED
@@ -50,7 +50,7 @@ const transactionManager = new TransactionManager(dataAccess);
50
50
 
51
51
  const data = '{ what: "ever", it: "is,", this: "must", work: true }';
52
52
  const channelId = 'myRequest';
53
- const channelTopics = ['stakeholder1','stakeholder2'];
53
+ const channelTopics = ['stakeholder1', 'stakeholder2'];
54
54
 
55
55
  const { result } = await transactionManager.persistTransaction(data, channelId, channelTopics);
56
56
  ```
@@ -103,7 +103,9 @@ const transactionManager = new TransactionManager(dataAccess, decryptionProvider
103
103
 
104
104
  const channelId = 'myRequest';
105
105
 
106
- const { result: {transactions} } = await transactionManager.getTransactionsByChannelId(channelId);
106
+ const {
107
+ result: { transactions },
108
+ } = await transactionManager.getTransactionsByChannelId(channelId);
107
109
  ```
108
110
 
109
111
  ### Get Transactions from topic
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@requestnetwork/transaction-manager",
3
- "version": "0.26.10-next.1608+651e77f5",
3
+ "version": "0.26.10-next.1620+47ca389a",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -33,14 +33,15 @@
33
33
  "scripts": {
34
34
  "build": "tsc -b",
35
35
  "clean": "shx rm -rf dist tsconfig.tsbuildinfo",
36
- "lint": "eslint \"src/**/*.ts\"",
36
+ "lint": "eslint . --fix",
37
+ "lint:check": "eslint .",
37
38
  "test": "jest",
38
39
  "test:watch": "yarn test --watch"
39
40
  },
40
41
  "dependencies": {
41
- "@requestnetwork/multi-format": "0.15.10-next.1608+651e77f5",
42
- "@requestnetwork/types": "0.35.1-next.1608+651e77f5",
43
- "@requestnetwork/utils": "0.35.1-next.1608+651e77f5",
42
+ "@requestnetwork/multi-format": "0.15.10-next.1620+47ca389a",
43
+ "@requestnetwork/types": "0.35.1-next.1620+47ca389a",
44
+ "@requestnetwork/utils": "0.35.1-next.1620+47ca389a",
44
45
  "tslib": "2.3.1"
45
46
  },
46
47
  "devDependencies": {
@@ -54,5 +55,5 @@
54
55
  "ts-node": "9.0.0",
55
56
  "typescript": "4.4.4"
56
57
  },
57
- "gitHead": "651e77f5fbb1f1c18d01381a8e439029e1d61f30"
58
+ "gitHead": "47ca389ad825beb301ffabff291c2f4568c3969c"
58
59
  }