diff --git a/content/_code-samples/send-a-memo/js/package.json b/content/_code-samples/send-a-memo/js/package.json index 07ff278b02..22d3b185e6 100644 --- a/content/_code-samples/send-a-memo/js/package.json +++ b/content/_code-samples/send-a-memo/js/package.json @@ -1,5 +1,5 @@ { - "name": "js", + "name": "send-a-memo", "version": "1.0.0", "description": "", "main": "send-a-memo.js", @@ -7,8 +7,8 @@ "start": "node send-a-memo.js" }, "author": "", - "license": "ISC", - "dependencies": { - "xrpl": "^2.0.0" - } + "license": "CC0-1.0", + "dependencies": { + "xrpl": "^2.0.0" + } } diff --git a/content/_code-samples/send-a-memo/js/send-a-memo.js b/content/_code-samples/send-a-memo/js/send-a-memo.js index 4f0a477f73..677fd37588 100644 --- a/content/_code-samples/send-a-memo/js/send-a-memo.js +++ b/content/_code-samples/send-a-memo/js/send-a-memo.js @@ -23,7 +23,7 @@ if (typeof module !== "undefined") { // Enter memo data to insert into a transaction const MemoData = xrpl.convertStringToHex(string="Example Memo - 123 -=+"); const MemoType = xrpl.convertStringToHex(string="Text"); - // MemoFormat values: # MemoFormat values: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types + // MemoFormat values: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types const MemoFormat = xrpl.convertStringToHex(string="text/plain"); // Send AccountSet transaction