-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(PE-6228): ant module #1
Conversation
package.json
Outdated
"build:module": "cd src && ao build && cd .. && yarn load:module", | ||
"publish:module": "cd src && ao publish process.wasm -w ../tools/key.json --tag=\"Memory-Limit\" --value=\"1-gb\" --tag=\"Compute-Limit\" --value=\"9000000000000\" && cd ..", | ||
"load:module": "node tools/load-module.js", | ||
"spawn:module": "node tools/spawn-module.js", | ||
"build:aos-ant": "node tools/bundle-aos-ant.js", | ||
"publish:aos-ant": "node tools/bundle-aos-ant.js && node tools/publish-aos-ant.js", | ||
"load:aos-ant": "node tools/bundle-aos-ant.js && node tools/load-aos-ant.js", | ||
"spawn:aos-ant": "node tools/spawn-aos-ant.js", | ||
"test": "node --test --test-concurrency 1 **/*.test.js" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i would flip these to be (scope:action) vs. (action:scope)
aos:load,
aos:build,
aos:spawn,
module:build,
module:publish
...
please update the README with the specs for the handlers and their required (and optional) inputs |
package.json
Outdated
"aos-ant:build": "node tools/bundle-aos-ant.js", | ||
"aos-ant:publish": "node tools/bundle-aos-ant.js && node tools/publish-aos-ant.js", | ||
"aos-ant:load": "node tools/bundle-aos-ant.js && node tools/load-aos-ant.js", | ||
"aos-ant:spawn": "node tools/spawn-aos-ant.js", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"aos-ant:build": "node tools/bundle-aos-ant.js", | |
"aos-ant:publish": "node tools/bundle-aos-ant.js && node tools/publish-aos-ant.js", | |
"aos-ant:load": "node tools/bundle-aos-ant.js && node tools/load-aos-ant.js", | |
"aos-ant:spawn": "node tools/spawn-aos-ant.js", | |
"aos:build": "node tools/bundle-aos-ant.js", | |
"aos:publish": "node tools/bundle-aos-ant.js && node tools/publish-aos-ant.js", | |
"aos:load": "node tools/bundle-aos-ant.js && node tools/load-aos-ant.js", | |
"aos:spawn": "node tools/spawn-aos-ant.js", |
11103c6
to
972b1a7
Compare
… with empty controller array
972b1a7
to
66dbb98
Compare
src/common/records.lua
Outdated
ttlSeconds = ttlSeconds, | ||
} | ||
|
||
return "Record set" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
have this return the actual record details
src/common/records.lua
Outdated
assert(nameValidity ~= false, nameValidityError) | ||
Records[name] = nil | ||
|
||
return "Record removed" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't return this string - return void
78cb39c
to
1e59f9f
Compare
No description provided.