primcli 1.13.2 → 1.13.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/dist/oclif/index.js +9 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -99,12 +99,12 @@ cat challenge.json | primitive payments pay
|
|
|
99
99
|
primitive payments create-email-challenge --from payee@your-domain.example \
|
|
100
100
|
--to payer@their-domain.example --amount 10000 --network base-sepolia
|
|
101
101
|
# Payer (recommended): pay the email challenge in one step. Signs the challenge
|
|
102
|
-
# locally with your wallet key AND sends the signed interaction.json
|
|
103
|
-
#
|
|
104
|
-
#
|
|
105
|
-
#
|
|
106
|
-
#
|
|
107
|
-
# attachment; pass --body to customize it.
|
|
102
|
+
# locally with your wallet key AND sends the signed interaction.json, so you
|
|
103
|
+
# skip the manual sign-then-send dance. --in-reply-to is the inbound challenge
|
|
104
|
+
# email you received; it is fetched to address the payment to the payee, with
|
|
105
|
+
# From defaulting to the payer it was sent to. The send is not threaded under
|
|
106
|
+
# the challenge (the payment associates by interaction_id). The message carries
|
|
107
|
+
# a short default note alongside the attachment; pass --body to customize it.
|
|
108
108
|
primitive payments pay-email --challenge-file challenge.json \
|
|
109
109
|
--in-reply-to <inbound-challenge-email-id> --wait
|
|
110
110
|
|
package/dist/oclif/index.js
CHANGED
|
@@ -23864,8 +23864,8 @@ const PRIMITIVE_TEAM_AUTHOR = {
|
|
|
23864
23864
|
name: "Primitive Team",
|
|
23865
23865
|
url: "https://primitive.dev"
|
|
23866
23866
|
};
|
|
23867
|
-
const SDK_VERSION_RANGE = "^1.13.
|
|
23868
|
-
const CLI_VERSION_RANGE = "^1.13.
|
|
23867
|
+
const SDK_VERSION_RANGE = "^1.13.3";
|
|
23868
|
+
const CLI_VERSION_RANGE = "^1.13.3";
|
|
23869
23869
|
const ESBUILD_VERSION_RANGE = "^0.27.0";
|
|
23870
23870
|
function renderHandler() {
|
|
23871
23871
|
return `// env.PRIMITIVE_API_KEY, env.PRIMITIVE_WEBHOOK_SECRET, and
|
|
@@ -28326,10 +28326,12 @@ var PaymentsPayEmailCommand = class PaymentsPayEmailCommand extends Command {
|
|
|
28326
28326
|
signed bytes as a portable artifact without sending.
|
|
28327
28327
|
|
|
28328
28328
|
--in-reply-to is the id of the inbound challenge email you received. It is
|
|
28329
|
-
fetched to derive the recipient (the payee, from the inbound's sender)
|
|
28330
|
-
From (you, the payer, from the inbound's recipient)
|
|
28331
|
-
|
|
28332
|
-
|
|
28329
|
+
fetched to derive the recipient (the payee, from the inbound's sender) and the
|
|
28330
|
+
From (you, the payer, from the inbound's recipient). The outgoing send does
|
|
28331
|
+
NOT thread under the challenge: threading would trigger the send endpoint's
|
|
28332
|
+
parent-thread dedup and the payment would never settle. The interaction
|
|
28333
|
+
associates by interaction_id instead. Pass --from only to override the derived
|
|
28334
|
+
payer From.
|
|
28333
28335
|
|
|
28334
28336
|
Provide the challenge inline with --challenge, from a file with
|
|
28335
28337
|
--challenge-file, or piped on stdin.`;
|
|
@@ -28362,7 +28364,7 @@ var PaymentsPayEmailCommand = class PaymentsPayEmailCommand extends Command {
|
|
|
28362
28364
|
exclusive: ["challenge"]
|
|
28363
28365
|
}),
|
|
28364
28366
|
"in-reply-to": Flags.string({
|
|
28365
|
-
description: "Id of the inbound challenge email you received. It is fetched to derive the payee recipient
|
|
28367
|
+
description: "Id of the inbound challenge email you received. It is fetched to derive the payee recipient and the payer From. The outgoing send is not threaded under the challenge; the payment associates by interaction_id.",
|
|
28366
28368
|
required: true
|
|
28367
28369
|
}),
|
|
28368
28370
|
from: Flags.string({ description: "Optional From header override. Defaults to the inbound's recipient (the payer the challenge was addressed to)." }),
|
|
@@ -28441,7 +28443,6 @@ var PaymentsPayEmailCommand = class PaymentsPayEmailCommand extends Command {
|
|
|
28441
28443
|
subject: DEFAULT_SUBJECT,
|
|
28442
28444
|
body_text: flags.body?.trim() ? flags.body : DEFAULT_BODY_TEXT,
|
|
28443
28445
|
attachments: [interactionAttachment(built)],
|
|
28444
|
-
...inbound.message_id ? { in_reply_to: inbound.message_id } : {},
|
|
28445
28446
|
...flags.wait !== void 0 ? { wait: flags.wait } : {}
|
|
28446
28447
|
},
|
|
28447
28448
|
client: apiClient.client,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "primcli",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.3",
|
|
4
4
|
"description": "Official Primitive CLI: deploy Primitive Functions, send and inspect mail, manage endpoints, all from the terminal. Wraps the @primitivedotdev/sdk runtime client with one-shot commands.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|