@lightprotocol/compressed-token 0.3.2 → 0.3.4

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.
@@ -746,10 +746,25 @@ type LightCompressedToken = {
746
746
  fields: [
747
747
  {
748
748
  name: 'setContext';
749
+ docs: [
750
+ 'Is set by the program that is invoking the CPI to signal that is should',
751
+ 'set the cpi context.'
752
+ ];
753
+ type: 'bool';
754
+ },
755
+ {
756
+ name: 'firstSetContext';
757
+ docs: [
758
+ 'Is set to wipe the cpi context since someone could have set it before',
759
+ 'with unrelated data.'
760
+ ];
749
761
  type: 'bool';
750
762
  },
751
763
  {
752
764
  name: 'cpiContextAccountIndex';
765
+ docs: [
766
+ 'Index of cpi context account in remaining accounts.'
767
+ ];
753
768
  type: 'u8';
754
769
  }
755
770
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightprotocol/compressed-token",
3
- "version": "0.3.2",
3
+ "version": "0.3.4",
4
4
  "description": "JS client to interact with the compressed-token program",
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -42,7 +42,7 @@
42
42
  "license": "Apache-2.0",
43
43
  "peerDependencies": {
44
44
  "@solana/web3.js": "^1.91.8",
45
- "@lightprotocol/stateless.js": "0.4.2"
45
+ "@lightprotocol/stateless.js": "0.4.4"
46
46
  },
47
47
  "dependencies": {
48
48
  "@coral-xyz/anchor": "0.29.0",