Skip to content

Commit

Permalink
ci(changesets): versioning packages (#807)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Mar 7, 2023
1 parent 5454ca3 commit 8ba6e19
Show file tree
Hide file tree
Showing 117 changed files with 981 additions and 436 deletions.
2 changes: 0 additions & 2 deletions .changeset/kind-beers-call.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/long-pandas-protect.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/quiet-peaches-train.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/slow-carrots-tease.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/_data/versions.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# generated-file
fuels: 0.33.0
fuels: 0.34.0
fuel-core: 0.17.3
sway: 0.35.3
forc: 0.35.3
8 changes: 4 additions & 4 deletions docs/guide/cookbook/deposit-and-withdraw.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ abi LiquidityPool {
#[storage(write)]
fn set_base_token(base_token_id: b256) -> ();

#[storage(read)]
#[storage(read), payable]
fn deposit(recipient: Address);

#[storage(read)]
#[storage(read), payable]
fn withdraw(recipient: Address);
}

Expand All @@ -90,7 +90,7 @@ impl LiquidityPool for Contract {
storage.base_token = base_token_id;
}

#[storage(read)]
#[storage(read), payable]
fn deposit(recipient: Address) {
assert(ContractId::from(storage.base_token) == msg_asset_id());
assert(0 < msg_amount());
Expand All @@ -102,7 +102,7 @@ impl LiquidityPool for Contract {
mint_to_address(amount_to_mint, recipient);
}

#[storage(read)]
#[storage(read), payable]
fn withdraw(recipient: Address) {
assert(contract_id() == msg_asset_id());
assert(0 < msg_amount());
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/messages/getting-all-resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ You can use the `getResourcesToSpend` method to retrieve a list of all the resou
]);
expect(resourcesToSpend[0].amount.gt(2)).toBeTruthy();
```
###### [see code in context](https://github.com/FuelLabs/fuels-ts/blob/master/packages/wallet/src/account.test.ts#L78-L89)
###### [see code in context](https://github.com/FuelLabs/fuels-ts/blob/master/packages/wallet/src/account.test.ts#L91-L102)

---

2 changes: 1 addition & 1 deletion docs/guide/wallets/signing.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ You can also sign a _transaction_ by using `wallet.sign_transaction`. Below is a
expect(signedTransaction).toEqual(signTransactionTest.signedTransaction);
expect(verifiedAddress).toEqual(wallet.address);
```
###### [see code in context](https://github.com/FuelLabs/fuels-ts/blob/master/packages/wallet/src/wallet-unlocked.test.ts#L38-L50)
###### [see code in context](https://github.com/FuelLabs/fuels-ts/blob/master/packages/wallet/src/wallet-unlocked.test.ts#L51-L63)

---

18 changes: 9 additions & 9 deletions docs/packages/fuel-ts-abi-coder/classes/ABI.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ nav_order: 1

#### Defined in

[packages/abi-coder/src/json-abi.ts:78](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L78)
[packages/abi-coder/src/json-abi.ts:85](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L85)

## Properties

Expand All @@ -34,7 +34,7 @@ nav_order: 1

#### Defined in

[packages/abi-coder/src/json-abi.ts:75](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L75)
[packages/abi-coder/src/json-abi.ts:82](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L82)

___

Expand All @@ -44,7 +44,7 @@ ___

#### Defined in

[packages/abi-coder/src/json-abi.ts:76](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L76)
[packages/abi-coder/src/json-abi.ts:83](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L83)

___

Expand All @@ -54,7 +54,7 @@ ___

#### Defined in

[packages/abi-coder/src/json-abi.ts:74](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L74)
[packages/abi-coder/src/json-abi.ts:81](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L81)

## Methods

Expand All @@ -75,7 +75,7 @@ ___

#### Defined in

[packages/abi-coder/src/json-abi.ts:88](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L88)
[packages/abi-coder/src/json-abi.ts:95](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L95)

___

Expand All @@ -95,7 +95,7 @@ ___

#### Defined in

[packages/abi-coder/src/json-abi.ts:84](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L84)
[packages/abi-coder/src/json-abi.ts:91](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L91)

___

Expand All @@ -109,7 +109,7 @@ readonly [`JsonAbiFragment`](../interfaces/JsonAbiFragment.md)[]

#### Defined in

[packages/abi-coder/src/json-abi.ts:150](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L150)
[packages/abi-coder/src/json-abi.ts:157](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L157)

___

Expand All @@ -123,7 +123,7 @@ readonly [`JsonAbiLogFragment`](../interfaces/JsonAbiLogFragment.md)[]

#### Defined in

[packages/abi-coder/src/json-abi.ts:143](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L143)
[packages/abi-coder/src/json-abi.ts:150](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L150)

___

Expand All @@ -143,4 +143,4 @@ readonly [`JsonAbiFragment`](../interfaces/JsonAbiFragment.md)[]

#### Defined in

[packages/abi-coder/src/json-abi.ts:134](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L134)
[packages/abi-coder/src/json-abi.ts:141](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L141)
22 changes: 16 additions & 6 deletions docs/packages/fuel-ts-abi-coder/classes/Fragment.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,27 @@ nav_order: 1

#### Defined in

[packages/abi-coder/src/fragments/fragment.ts:16](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/fragments/fragment.ts#L16)
[packages/abi-coder/src/fragments/fragment.ts:23](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/fragments/fragment.ts#L23)

## Properties

### attributes

`Readonly` **attributes**: readonly [`AttributeType`](../interfaces/internal-AttributeType.md)[] = `[]`

#### Defined in

[packages/abi-coder/src/fragments/fragment.ts:21](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/fragments/fragment.ts#L21)

___

### inputs

`Readonly` **inputs**: [`ParamType`](internal-ParamType.md)[] = `[]`

#### Defined in

[packages/abi-coder/src/fragments/fragment.ts:13](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/fragments/fragment.ts#L13)
[packages/abi-coder/src/fragments/fragment.ts:19](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/fragments/fragment.ts#L19)

___

Expand All @@ -50,7 +60,7 @@ ___

#### Defined in

[packages/abi-coder/src/fragments/fragment.ts:12](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/fragments/fragment.ts#L12)
[packages/abi-coder/src/fragments/fragment.ts:18](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/fragments/fragment.ts#L18)

___

Expand All @@ -60,7 +70,7 @@ ___

#### Defined in

[packages/abi-coder/src/fragments/fragment.ts:14](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/fragments/fragment.ts#L14)
[packages/abi-coder/src/fragments/fragment.ts:20](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/fragments/fragment.ts#L20)

___

Expand All @@ -70,7 +80,7 @@ ___

#### Defined in

[packages/abi-coder/src/fragments/fragment.ts:11](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/fragments/fragment.ts#L11)
[packages/abi-coder/src/fragments/fragment.ts:17](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/fragments/fragment.ts#L17)

## Methods

Expand All @@ -90,4 +100,4 @@ ___

#### Defined in

[packages/abi-coder/src/fragments/fragment.ts:23](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/fragments/fragment.ts#L23)
[packages/abi-coder/src/fragments/fragment.ts:31](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/fragments/fragment.ts#L31)
26 changes: 20 additions & 6 deletions docs/packages/fuel-ts-abi-coder/classes/FunctionFragment.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,24 @@ nav_order: 1

#### Defined in

[packages/abi-coder/src/fragments/fragment.ts:16](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/fragments/fragment.ts#L16)
[packages/abi-coder/src/fragments/fragment.ts:23](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/fragments/fragment.ts#L23)

## Properties

### attributes

`Readonly` **attributes**: readonly [`AttributeType`](../interfaces/internal-AttributeType.md)[] = `[]`

#### Inherited from

[Fragment](Fragment.md).[attributes](Fragment.md#attributes)

#### Defined in

[packages/abi-coder/src/fragments/fragment.ts:21](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/fragments/fragment.ts#L21)

___

### inputs

`Readonly` **inputs**: [`ParamType`](internal-ParamType.md)[] = `[]`
Expand All @@ -48,7 +62,7 @@ nav_order: 1

#### Defined in

[packages/abi-coder/src/fragments/fragment.ts:13](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/fragments/fragment.ts#L13)
[packages/abi-coder/src/fragments/fragment.ts:19](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/fragments/fragment.ts#L19)

___

Expand All @@ -62,7 +76,7 @@ ___

#### Defined in

[packages/abi-coder/src/fragments/fragment.ts:12](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/fragments/fragment.ts#L12)
[packages/abi-coder/src/fragments/fragment.ts:18](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/fragments/fragment.ts#L18)

___

Expand All @@ -76,7 +90,7 @@ ___

#### Defined in

[packages/abi-coder/src/fragments/fragment.ts:14](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/fragments/fragment.ts#L14)
[packages/abi-coder/src/fragments/fragment.ts:20](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/fragments/fragment.ts#L20)

___

Expand All @@ -90,7 +104,7 @@ ___

#### Defined in

[packages/abi-coder/src/fragments/fragment.ts:11](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/fragments/fragment.ts#L11)
[packages/abi-coder/src/fragments/fragment.ts:17](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/fragments/fragment.ts#L17)

## Methods

Expand All @@ -108,7 +122,7 @@ ___

#### Defined in

[packages/abi-coder/src/fragments/function-fragment.ts:23](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/fragments/function-fragment.ts#L23)
[packages/abi-coder/src/fragments/function-fragment.ts:24](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/fragments/function-fragment.ts#L24)

___

Expand Down
7 changes: 4 additions & 3 deletions docs/packages/fuel-ts-abi-coder/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ nav_order: 1

- [JsonAbiFragment](interfaces/JsonAbiFragment.md)
- [JsonAbiFragmentType](interfaces/JsonAbiFragmentType.md)
- [JsonAbiFunctionAttributeType](interfaces/JsonAbiFunctionAttributeType.md)
- [JsonAbiLogFragment](interfaces/JsonAbiLogFragment.md)
- [JsonFlatAbi](interfaces/JsonFlatAbi.md)
- [JsonFlatAbiFragmentArgumentType](interfaces/JsonFlatAbiFragmentArgumentType.md)
Expand Down Expand Up @@ -84,7 +85,7 @@ A JSON ABI object

#### Defined in

[packages/abi-coder/src/json-abi.ts:71](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L71)
[packages/abi-coder/src/json-abi.ts:78](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L78)

___

Expand Down Expand Up @@ -344,7 +345,7 @@ jsonAbi is JsonFlatAbi

#### Defined in

[packages/abi-coder/src/json-abi.ts:67](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L67)
[packages/abi-coder/src/json-abi.ts:74](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L74)

___

Expand All @@ -367,4 +368,4 @@ See: https://github.com/FuelLabs/sway/issues/1368

#### Defined in

[packages/abi-coder/src/json-abi.ts:164](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L164)
[packages/abi-coder/src/json-abi.ts:172](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L172)
18 changes: 14 additions & 4 deletions docs/packages/fuel-ts-abi-coder/interfaces/JsonAbiFragment.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,23 @@ nav_order: 2

## Properties

### attributes

`Optional` `Readonly` **attributes**: readonly [`JsonAbiFunctionAttributeType`](JsonAbiFunctionAttributeType.md)[]

#### Defined in

[packages/abi-coder/src/json-abi.ts:33](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L33)

___

### inputs

`Optional` `Readonly` **inputs**: readonly [`JsonAbiFragmentType`](JsonAbiFragmentType.md)[]

#### Defined in

[packages/abi-coder/src/json-abi.ts:26](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L26)
[packages/abi-coder/src/json-abi.ts:31](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L31)

___

Expand All @@ -28,7 +38,7 @@ ___

#### Defined in

[packages/abi-coder/src/json-abi.ts:25](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L25)
[packages/abi-coder/src/json-abi.ts:30](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L30)

___

Expand All @@ -38,7 +48,7 @@ ___

#### Defined in

[packages/abi-coder/src/json-abi.ts:27](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L27)
[packages/abi-coder/src/json-abi.ts:32](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L32)

___

Expand All @@ -48,4 +58,4 @@ ___

#### Defined in

[packages/abi-coder/src/json-abi.ts:19](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L19)
[packages/abi-coder/src/json-abi.ts:24](https://github.com/FuelLabs/fuels-ts/blob/master/packages/abi-coder/src/json-abi.ts#L24)
Loading

0 comments on commit 8ba6e19

Please sign in to comment.