Skip to content

Commit

Permalink
Regenerate templates (#1)
Browse files Browse the repository at this point in the history
* Update templates to use flow-cadut

* Bump version

* Updated CHANGELOG
  • Loading branch information
Maksim Daunarovich authored Jun 2, 2021
1 parent 0267ebe commit 1e4d8cf
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
### 0.1.1 -- 2021-06-02
- Regenerated templates to import `flow-cadut`

### 0.1.0 -- 2021-06-02
- First release
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flow-cadut",
"version": "0.1.0",
"version": "0.1.1",
"description": "Flow Cadence Template Utilities",
"author": "Maksim Daunarovich",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/templates/contract.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
replaceImportAddresses,
reportMissingImports,
reportMissing
} from 'flow-template-utilities'
} from 'flow-cadut'

export const CODE = `
{{{ code }}}
Expand Down
6 changes: 3 additions & 3 deletions src/templates/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ templates["contract"] = template({
})
: helper)
) +
"'\n\nimport {\n getEnvironment,\n replaceImportAddresses,\n reportMissingImports,\n reportMissing\n} from 'flow-template-utilities'\n\nexport const CODE = `\n " +
"'\n\nimport {\n getEnvironment,\n replaceImportAddresses,\n reportMissingImports,\n reportMissing\n} from 'flow-cadut'\n\nexport const CODE = `\n " +
((stack1 =
((helper =
(helper =
Expand Down Expand Up @@ -460,7 +460,7 @@ templates["script"] = template({
})
: helper)
) +
"'\n\nimport {\n getEnvironment,\n replaceImportAddresses,\n reportMissingImports,\n reportMissing\n} from 'flow-template-utilities'\n\nexport const CODE = `\n " +
"'\n\nimport {\n getEnvironment,\n replaceImportAddresses,\n reportMissingImports,\n reportMissing\n} from 'flow-cadut'\n\nexport const CODE = `\n " +
((stack1 =
((helper =
(helper =
Expand Down Expand Up @@ -621,7 +621,7 @@ templates["transaction"] = template({
})
: helper)
) +
"'\n\nimport {\n getEnvironment,\n replaceImportAddresses,\n reportMissingImports,\n reportMissing\n} from 'flow-template-utilities'\n\nexport const CODE = `\n " +
"'\n\nimport {\n getEnvironment,\n replaceImportAddresses,\n reportMissingImports,\n reportMissing\n} from 'flow-cadut'\n\nexport const CODE = `\n " +
((stack1 =
((helper =
(helper =
Expand Down
2 changes: 1 addition & 1 deletion src/templates/script.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
replaceImportAddresses,
reportMissingImports,
reportMissing
} from 'flow-template-utilities'
} from 'flow-cadut'

export const CODE = `
{{{ code }}}
Expand Down
2 changes: 1 addition & 1 deletion src/templates/transaction.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
replaceImportAddresses,
reportMissingImports,
reportMissing
} from 'flow-template-utilities'
} from 'flow-cadut'

export const CODE = `
{{{ code }}}
Expand Down

0 comments on commit 1e4d8cf

Please sign in to comment.