@splashprotocol/remote-builder 2.0.0-beta.46 → 2.0.0-beta.48

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.
@@ -10,7 +10,7 @@
10
10
  ESM Build start
11
11
  CJS Build start
12
12
 
13
- [4:48:23 PM]  WARN  ▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
13
+ [9:47:09 PM]  WARN  ▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
14
14
 
15
15
  package.json:16:6:
16
16
   16 │ "types": "./dist/index.d.ts"
@@ -31,7 +31,7 @@
31
31
 
32
32
 
33
33
 
34
- [4:48:23 PM]  WARN  ▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
34
+ [9:47:09 PM]  WARN  ▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
35
35
 
36
36
  package.json:16:6:
37
37
   16 │ "types": "./dist/index.d.ts"
@@ -51,12 +51,12 @@
51
51
 
52
52
 
53
53
 
54
- ESM dist/index.js 2.31 KB
55
- ESM ⚡️ Build success in 132ms
56
- CJS dist/index.cjs 3.61 KB
57
- CJS ⚡️ Build success in 132ms
54
+ ESM dist/index.js 2.35 KB
55
+ ESM ⚡️ Build success in 94ms
56
+ CJS dist/index.cjs 3.65 KB
57
+ CJS ⚡️ Build success in 94ms
58
58
  DTS Build start
59
- DTS ⚡️ Build success in 813ms
60
- DTS dist/index.d.ts 2.72 KB
61
- DTS dist/index.d.cts 2.72 KB
62
- ✨ Done in 1.66s.
59
+ DTS ⚡️ Build success in 726ms
60
+ DTS dist/index.d.ts 2.76 KB
61
+ DTS dist/index.d.cts 2.76 KB
62
+ ✨ Done in 2.45s.
package/dist/index.cjs CHANGED
@@ -31,8 +31,9 @@ module.exports = __toCommonJS(src_exports);
31
31
 
32
32
  // src/core/models/RemoteTransaction/RemoteTransaction.ts
33
33
  var RemoteTransaction = class _RemoteTransaction {
34
- constructor(serialization, builder, additionalData) {
34
+ constructor(serialization, builder, additionalData, partial) {
35
35
  this.builder = builder;
36
+ this.partial = partial;
36
37
  this.serialization = serialization;
37
38
  this.additionalData = additionalData;
38
39
  }
package/dist/index.d.cts CHANGED
@@ -22,6 +22,7 @@ declare class SignedRemoteTransaction<S, RB extends RemoteBuilder<Api<Backend<{}
22
22
  */
23
23
  declare class RemoteTransaction<S, RB extends RemoteBuilder<Api<Backend<{}>>, S>, AdditionalData> {
24
24
  private builder;
25
+ partial?: boolean | undefined;
25
26
  static new<S, RB extends RemoteBuilder<Api<Backend<{}>>, S>, AdditionalData>(serialization: S, builder: RB, additionalData: AdditionalData): RemoteTransaction<S, RB, AdditionalData>;
26
27
  /**
27
28
  * Transaction serialization
package/dist/index.d.ts CHANGED
@@ -22,6 +22,7 @@ declare class SignedRemoteTransaction<S, RB extends RemoteBuilder<Api<Backend<{}
22
22
  */
23
23
  declare class RemoteTransaction<S, RB extends RemoteBuilder<Api<Backend<{}>>, S>, AdditionalData> {
24
24
  private builder;
25
+ partial?: boolean | undefined;
25
26
  static new<S, RB extends RemoteBuilder<Api<Backend<{}>>, S>, AdditionalData>(serialization: S, builder: RB, additionalData: AdditionalData): RemoteTransaction<S, RB, AdditionalData>;
26
27
  /**
27
28
  * Transaction serialization
package/dist/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  // src/core/models/RemoteTransaction/RemoteTransaction.ts
2
2
  var RemoteTransaction = class _RemoteTransaction {
3
- constructor(serialization, builder, additionalData) {
3
+ constructor(serialization, builder, additionalData, partial) {
4
4
  this.builder = builder;
5
+ this.partial = partial;
5
6
  this.serialization = serialization;
6
7
  this.additionalData = additionalData;
7
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@splashprotocol/remote-builder",
3
- "version": "2.0.0-beta.46",
3
+ "version": "2.0.0-beta.48",
4
4
  "type": "module",
5
5
  "description": "Api client of splash protocol",
6
6
  "scripts": {
@@ -33,7 +33,7 @@
33
33
  ]
34
34
  },
35
35
  "peerDependencies": {
36
- "@splashprotocol/api": "2.0.0-beta.25",
36
+ "@splashprotocol/api": "2.0.0-beta.26",
37
37
  "@splashprotocol/core": "2.0.0-beta.13"
38
38
  }
39
39
  }
@@ -34,6 +34,7 @@ export class RemoteTransaction<
34
34
  serialization: S,
35
35
  private builder: RB,
36
36
  additionalData: AdditionalData,
37
+ public partial?: boolean,
37
38
  ) {
38
39
  this.serialization = serialization;
39
40
  this.additionalData = additionalData;