wiki-plugin-shoppe 0.0.19 → 0.0.20

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server/server.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wiki-plugin-shoppe",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
4
4
  "description": "Multi-tenant digital goods shoppe for federated wiki, powered by Sanora",
5
5
  "keywords": [
6
6
  "wiki",
package/server/server.js CHANGED
@@ -1102,7 +1102,7 @@ async function startServer(params) {
1102
1102
  const intentMessage = intentTimestamp + buyer.uuid + amount + 'USD';
1103
1103
  const intentSignature = await sessionless.sign(intentMessage);
1104
1104
  const intentResp = await fetch(`${getAddieUrl()}/user/${buyer.uuid}/processor/stripe/intent`, {
1105
- method: 'PUT',
1105
+ method: 'POST',
1106
1106
  headers: { 'Content-Type': 'application/json' },
1107
1107
  body: JSON.stringify({ timestamp: intentTimestamp, amount, currency: 'USD', payees, signature: intentSignature })
1108
1108
  });