bkper-js 1.14.0 → 1.14.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/lib/index.d.ts CHANGED
@@ -1902,6 +1902,10 @@ export declare class Transaction {
1902
1902
  * Untrash the transaction.
1903
1903
  */
1904
1904
  untrash(): Promise<Transaction>;
1905
+ /** @deprecated */
1906
+ remove(): Promise<Transaction>;
1907
+ /** @deprecated */
1908
+ restore(): Promise<Transaction>;
1905
1909
  }
1906
1910
 
1907
1911
  /**
@@ -698,5 +698,17 @@ export class Transaction {
698
698
  return this;
699
699
  });
700
700
  }
701
+ /** @deprecated */
702
+ remove() {
703
+ return __awaiter(this, void 0, void 0, function* () {
704
+ return this.trash();
705
+ });
706
+ }
707
+ /** @deprecated */
708
+ restore() {
709
+ return __awaiter(this, void 0, void 0, function* () {
710
+ return this.untrash();
711
+ });
712
+ }
701
713
  }
702
714
  //# sourceMappingURL=Transaction.js.map
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.47.7"
8
+ "packageVersion": "7.47.11"
9
9
  }
10
10
  ]
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkper-js",
3
- "version": "1.14.0",
3
+ "version": "1.14.1",
4
4
  "description": "Javascript client for Bkper REST API",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",
@@ -33,6 +33,9 @@
33
33
  "preversion": "bun run build",
34
34
  "postversion": "git push --tags && yarn publish --new-version $npm_package_version && git push && echo \"Successfully released version $npm_package_version!\""
35
35
  },
36
+ "peerDependencies": {
37
+ "@bkper/bkper-api-types": "^5.10.0"
38
+ },
36
39
  "dependencies": {
37
40
  "@google-cloud/local-auth": "^3.0.1",
38
41
  "axios": "^1.7.7",
@@ -41,7 +44,6 @@
41
44
  "luxon": "^1.25.0"
42
45
  },
43
46
  "devDependencies": {
44
- "@bkper/bkper-api-types": "^5.10.0",
45
47
  "@microsoft/api-extractor": "^7.12.1",
46
48
  "@types/big.js": "^6.0.2",
47
49
  "@types/chai": "^4.2.14",