@metaplex-foundation/kinobi 0.16.7 → 0.16.8

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.
@@ -39,7 +39,7 @@ export function {{ instruction.name | camelCase }}(
39
39
  // Accounts.
40
40
  const resolvedAccounts = {
41
41
  {% for account in accounts %}
42
- {{ account.name | camelCase }}: { index: {{ loop.index0 }}, isWritable: {{ 'true' if account.isWritable else 'false' }}, value: {{ accountsObj }}.{{ account.name | camelCase }} ?? null },
42
+ {{ account.name | camelCase }}: { index: {{ loop.index0 }}, isWritable: {{ 'true' if account.isWritable else 'false' }} as boolean, value: {{ accountsObj }}.{{ account.name | camelCase }} ?? null },
43
43
  {% endfor %}
44
44
  } satisfies ResolvedAccountsWithIndices;
45
45
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metaplex-foundation/kinobi",
3
- "version": "0.16.7",
3
+ "version": "0.16.8",
4
4
  "description": "Generate powerful clients for your Solana programs",
5
5
  "main": "dist/cjs/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -39,7 +39,7 @@ export function {{ instruction.name | camelCase }}(
39
39
  // Accounts.
40
40
  const resolvedAccounts = {
41
41
  {% for account in accounts %}
42
- {{ account.name | camelCase }}: { index: {{ loop.index0 }}, isWritable: {{ 'true' if account.isWritable else 'false' }}, value: {{ accountsObj }}.{{ account.name | camelCase }} ?? null },
42
+ {{ account.name | camelCase }}: { index: {{ loop.index0 }}, isWritable: {{ 'true' if account.isWritable else 'false' }} as boolean, value: {{ accountsObj }}.{{ account.name | camelCase }} ?? null },
43
43
  {% endfor %}
44
44
  } satisfies ResolvedAccountsWithIndices;
45
45