Skip to content

Commit 2540c35

Browse files
authored
Merge pull request #156 from owl352/feat/hot-fixes
Hot fixes pt.2
2 parents c09e010 + bd43a91 commit 2540c35

File tree

85 files changed

+214
-102
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+214
-102
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "pshenmic-dpp"
33
authors = ["owl352 <kokosinca123@gmail.com>"]
4-
version = "2.0.0-dev.3"
4+
version = "2.0.0-dev.4"
55
edition = "2024"
66

77
[lib]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pshenmic-dpp",
3-
"version": "2.0.0-dev.3",
3+
"version": "2.0.0-dev.4",
44
"main": "dist/src/wasm.js",
55
"types": "dist/src/wasm.d.ts",
66
"react-native": "./dist/src/react-native.js",

pkg/src/dpp/structs/Address/PlatformAddress.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export class PlatformAddressWASM {
3636
}
3737

3838
static createFromRawInstance (rawInstance: PlatformAddressNAPI): PlatformAddressWASM {
39-
const instance: PlatformAddressWASM = Object.create(this.prototype)
39+
const instance: PlatformAddressWASM = Object.create(PlatformAddressWASM.prototype)
4040
instance._rawPlatformAddress = rawInstance
4141

4242
return instance

pkg/src/dpp/structs/AddressTransitions/AddressCreditWithdrawalTransition.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export class AddressCreditWithdrawalTransitionWASM {
146146
}
147147

148148
static createFromRawInstance (rawInstance: AddressCreditWithdrawalTransitionNAPI): AddressCreditWithdrawalTransitionWASM {
149-
const instance: AddressCreditWithdrawalTransitionWASM = Object.create(this.prototype)
149+
const instance: AddressCreditWithdrawalTransitionWASM = Object.create(AddressCreditWithdrawalTransitionWASM.prototype)
150150
instance._rawAddressCreditWithdrawalTransition = rawInstance
151151

152152
return instance

pkg/src/dpp/structs/AddressTransitions/AddressFundingFromAssetLockTransition.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ export class AddressFundingFromAssetLockTransitionWASM {
126126
}
127127

128128
static createFromRawInstance (rawInstance: AddressFundingFromAssetLockTransitionNAPI): AddressFundingFromAssetLockTransitionWASM {
129-
const instance = Object.create(this.prototype)
130-
instance._rawAddressFundingFromAssetLockTransitionNAPI = rawInstance
129+
const instance = Object.create(AddressFundingFromAssetLockTransitionWASM.prototype)
130+
instance._rawAddressFundingFromAssetLockTransition = rawInstance
131131

132132
return instance
133133
}

pkg/src/dpp/structs/AddressTransitions/AddressFundsTransferTransition.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ export class AddressFundsTransferTransitionWASM {
109109
}
110110

111111
static createFromRawInstance (rawInstance: AddressFundsTransferTransitionNAPI): AddressFundsTransferTransitionWASM {
112-
const instance = Object.create(this.prototype)
113-
instance._rawAddressFundingFromAssetLockTransitionNAPI = rawInstance
112+
const instance = Object.create(AddressFundsTransferTransitionWASM.prototype)
113+
instance._rawAddressFundsTransferTransition = rawInstance
114114

115115
return instance
116116
}

pkg/src/dpp/structs/AddressTransitions/IdentityCreateFromAddressesTransition.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export class IdentityCreateFromAddressesTransitionWASM {
124124
}
125125

126126
static createFromRawInstance (rawInstance: IdentityCreateFromAddressesTransitionNAPI): IdentityCreateFromAddressesTransitionWASM {
127-
const instance = Object.create(this.prototype)
127+
const instance = Object.create(IdentityCreateFromAddressesTransitionWASM.prototype)
128128
instance._rawIdentityCreateFromAddressesTransition = rawInstance
129129

130130
return instance

pkg/src/dpp/structs/AddressTransitions/IdentityCreditTransferToAddressesTransition.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export class IdentityCreditTransferToAddressesTransitionWASM {
110110
}
111111

112112
static createFromRawInstance (rawInstance: IdentityCreditTransferToAddressesTransitionNAPI): IdentityCreditTransferToAddressesTransitionWASM {
113-
const instance: IdentityCreditTransferToAddressesTransitionWASM = Object.create(this.prototype)
113+
const instance: IdentityCreditTransferToAddressesTransitionWASM = Object.create(IdentityCreditTransferToAddressesTransitionWASM.prototype)
114114
instance._rawIdentityCreditTransferToAddressesTransition = rawInstance
115115

116116
return instance

pkg/src/dpp/structs/AddressTransitions/IdentityTopUpFromAddressesTransition.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export class IdentityTopUpFromAddressesTransitionWASM {
117117
}
118118

119119
static createFromRawInstance (rawInstance: IdentityTopUpFromAddressesTransitionNAPI): IdentityTopUpFromAddressesTransitionWASM {
120-
const instance: IdentityTopUpFromAddressesTransitionWASM = Object.create(this.prototype)
120+
const instance: IdentityTopUpFromAddressesTransitionWASM = Object.create(IdentityTopUpFromAddressesTransitionWASM.prototype)
121121
instance._rawIdentityTopUpFromAddressesTransition = rawInstance
122122

123123
return instance

0 commit comments

Comments
 (0)