Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@codama/visitors

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codama/visitors - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

4

dist/types/fillDefaultPdaSeedValuesVisitor.d.ts
import { InstructionInputValueNode, InstructionNode } from '@codama/nodes';
import { LinkableDictionary, Visitor } from '@codama/visitors-core';
import { LinkableDictionary, NodePath, Visitor } from '@codama/visitors-core';
/**

@@ -15,3 +15,3 @@ * Fills in default values for variable PDA seeds that are not explicitly provided.

*/
export declare function fillDefaultPdaSeedValuesVisitor(instruction: InstructionNode, linkables: LinkableDictionary, strictMode?: boolean): Visitor<InstructionInputValueNode, InstructionInputValueNode["kind"]>;
export declare function fillDefaultPdaSeedValuesVisitor(instructionPath: NodePath<InstructionNode>, linkables: LinkableDictionary, strictMode?: boolean): Visitor<InstructionInputValueNode, InstructionInputValueNode["kind"]>;
//# sourceMappingURL=fillDefaultPdaSeedValuesVisitor.d.ts.map
{
"name": "@codama/visitors",
"version": "1.0.0",
"version": "1.1.0",
"description": "All visitors for the Codama framework",

@@ -38,5 +38,5 @@ "exports": {

"dependencies": {
"@codama/errors": "1.0.0",
"@codama/nodes": "1.0.0",
"@codama/visitors-core": "1.0.0"
"@codama/errors": "1.1.0",
"@codama/nodes": "1.1.0",
"@codama/visitors-core": "1.1.0"
},

@@ -43,0 +43,0 @@ "license": "MIT",

@@ -99,3 +99,3 @@ # Codama ➤ Visitors

This visitor fills any missing `PdaSeedValueNodes` from `PdaValueNodes` using the provided `InstructionNode` such that:
This visitor fills any missing `PdaSeedValueNodes` from `PdaValueNodes` using the provided `NodePath<InstructionNode>` such that:

@@ -111,3 +111,3 @@ - If a `VariablePdaSeedNode` is of type `PublicKeyTypeNode` and the name of the seed matches the name of an account in the `InstructionNode`, then a new `PdaSeedValueNode` will be added with the matching account.

```ts
codama.update(fillDefaultPdaSeedValuesVisitor(instructionNode, linkables, strictMode));
codama.update(fillDefaultPdaSeedValuesVisitor(instructionPath, linkables, strictMode));
```

@@ -114,0 +114,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc