@codama/renderers-js 1.4.3 → 1.5.1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"accountType.d.ts","sourceRoot":"","sources":["../../../src/fragments/accountType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAyB,MAAM,eAAe,CAAC;AACnE,OAAO,EAAuB,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAG/D,wBAAgB,sBAAsB,CAClC,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,mBAAmB,GAAG,SAAS,CAAC,GAAG;IACxD,WAAW,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;IACnC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,YAAY,EAAE,YAAY,CAAC;CAC9B,GACF,QAAQ,GAAG,SAAS,CAYtB"}
1
+ {"version":3,"file":"accountType.d.ts","sourceRoot":"","sources":["../../../src/fragments/accountType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAyB,MAAM,eAAe,CAAC;AACnE,OAAO,EAAuB,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAG/D,wBAAgB,sBAAsB,CAClC,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,mBAAmB,GAAG,SAAS,CAAC,GAAG;IACxD,WAAW,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;IACnC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,YAAY,EAAE,YAAY,CAAC;CAC9B,GACF,QAAQ,GAAG,SAAS,CAgBtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"instructionInputDefault.d.ts","sourceRoot":"","sources":["../../../src/fragments/instructionInputDefault.ts"],"names":[],"mappings":"AACA,OAAO,EAAgD,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAEtG,OAAO,EAAQ,wBAAwB,EAAS,MAAM,uBAAuB,CAAC;AAE9E,OAAO,EAGH,QAAQ,EAKR,WAAW,EACd,MAAM,UAAU,CAAC;AAElB,wBAAgB,kCAAkC,CAC9C,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,gBAAgB,GAAG,eAAe,GAAG,SAAS,GAAG,qBAAqB,CAAC,GAAG;IAC/F,KAAK,EAAE,wBAAwB,CAAC;IAChC,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,QAAQ,EAAE,OAAO,CAAC;CACrB,GACF,QAAQ,CAiPV"}
1
+ {"version":3,"file":"instructionInputDefault.d.ts","sourceRoot":"","sources":["../../../src/fragments/instructionInputDefault.ts"],"names":[],"mappings":"AACA,OAAO,EAAgD,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAEtG,OAAO,EAAQ,wBAAwB,EAAS,MAAM,uBAAuB,CAAC;AAE9E,OAAO,EAGH,QAAQ,EAIR,WAAW,EAEd,MAAM,UAAU,CAAC;AAElB,wBAAgB,kCAAkC,CAC9C,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,gBAAgB,GAAG,eAAe,GAAG,SAAS,GAAG,qBAAqB,CAAC,GAAG;IAC/F,KAAK,EAAE,wBAAwB,CAAC;IAChC,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,QAAQ,EAAE,OAAO,CAAC;CACrB,GACF,QAAQ,CAiOV"}
@@ -1,3 +1,3 @@
1
- import { GetRenderMapOptions } from '../utils';
2
- export declare function getRenderMapVisitor(options?: GetRenderMapOptions): import("@codama/visitors-core").Visitor<import("@codama/renderers-core").RenderMap, "definedTypeNode" | "accountNode" | "instructionNode" | "pdaNode" | "programNode" | "rootNode">;
1
+ import { Fragment, GetRenderMapOptions } from '../utils';
2
+ export declare function getRenderMapVisitor(options?: GetRenderMapOptions): import("@codama/visitors-core").Visitor<import("@codama/renderers-core").RenderMap<Fragment>, "definedTypeNode" | "accountNode" | "instructionNode" | "pdaNode" | "programNode" | "rootNode">;
3
3
  //# sourceMappingURL=getRenderMapVisitor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getRenderMapVisitor.d.ts","sourceRoot":"","sources":["../../../src/visitors/getRenderMapVisitor.ts"],"names":[],"mappings":"AAkCA,OAAO,EAOH,mBAAmB,EAGtB,MAAM,UAAU,CAAC;AAGlB,wBAAgB,mBAAmB,CAAC,OAAO,GAAE,mBAAwB,uLAuJpE"}
1
+ {"version":3,"file":"getRenderMapVisitor.d.ts","sourceRoot":"","sources":["../../../src/visitors/getRenderMapVisitor.ts"],"names":[],"mappings":"AAkCA,OAAO,EAEH,QAAQ,EAKR,mBAAmB,EAGtB,MAAM,UAAU,CAAC;AAGlB,wBAAgB,mBAAmB,CAAC,OAAO,GAAE,mBAAwB,iMAuJpE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codama/renderers-js",
3
- "version": "1.4.3",
3
+ "version": "1.5.1",
4
4
  "description": "JavaScript renderer compatible with the Solana Kit library",
5
5
  "exports": {
6
6
  "types": "./dist/types/index.d.ts",
@@ -37,15 +37,15 @@
37
37
  "client"
38
38
  ],
39
39
  "dependencies": {
40
- "@codama/errors": "^1.3.7",
41
- "@codama/nodes": "^1.3.7",
42
- "@codama/renderers-core": "^1.2.2",
43
- "@codama/visitors-core": "^1.3.7",
44
- "@solana/codecs-strings": "^4.0.0",
40
+ "@codama/errors": "^1.4.1",
41
+ "@codama/nodes": "^1.4.1",
42
+ "@codama/renderers-core": "^1.3.0",
43
+ "@codama/visitors-core": "^1.4.1",
44
+ "@solana/codecs-strings": "^5.0.0",
45
45
  "prettier": "^3.6.2"
46
46
  },
47
47
  "devDependencies": {
48
- "@codama/nodes-from-anchor": "^1.2.9",
48
+ "@codama/nodes-from-anchor": "^1.3.3",
49
49
  "@changesets/changelog-github": "^0.5.1",
50
50
  "@changesets/cli": "^2.29.7",
51
51
  "@solana/eslint-config-solana": "^5.0.0",
@@ -55,10 +55,10 @@
55
55
  "eslint": "^9.35.0",
56
56
  "happy-dom": "^20.0.0",
57
57
  "prettier": "^3.6.2",
58
- "rimraf": "6.0.1",
58
+ "rimraf": "6.1.2",
59
59
  "tsup": "^8.5.0",
60
60
  "typescript": "^5.9.2",
61
- "vitest": "^3.2.4"
61
+ "vitest": "^4.0.1"
62
62
  },
63
63
  "license": "MIT",
64
64
  "repository": {