Skip to content

version 1.1.0

Compare
Choose a tag to compare
@bthaile bthaile released this 18 Jan 14:08
· 109 commits to main since this release
abbd351

What's Changed

Breaking Changes

Reorganizing the code is not backwards compatible with main functionality.

type FlixService interface {
	// GetTemplate returns the raw flix template
	GetTemplate(ctx context.Context, templateName string) (string, string, error)
	// GetAndReplaceImports returns the raw flix template with cadence imports replaced
	GetTemplateAndReplaceImports(ctx context.Context, templateName string, network string) (*FlowInteractionTemplateExecution, error)
	// GenerateBinding returns the generated binding given the language
	GetTemplateAndCreateBinding(ctx context.Context, templateName string, lang string, destFile string) (string, error)
	// GenerateTemplate returns the generated raw template
	CreateTemplate(ctx context.Context, contractInfos ContractInfos, code string, preFill string) (string, error)
}

Full Changelog: v1.0.2...v1.1.0