@reserve-protocol/sdk 0.1.0 → 0.1.1

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/dist/index.mjs +2 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -24812,8 +24812,8 @@ function withChallengeState(proposals) {
24812
24812
  }
24813
24813
  function getChallengeDescription(description) {
24814
24814
  if (!description.startsWith(CHALLENGE_DESCRIPTION_PREFIX)) return;
24815
- const challengeDescription = description.slice(17).trim();
24816
- return challengeDescription.length > 0 ? challengeDescription : void 0;
24815
+ const challengeDescription = description.slice(17).replace(/^ /, "");
24816
+ return challengeDescription.trim().length > 0 ? challengeDescription : void 0;
24817
24817
  }
24818
24818
  function getProposalFilter(states) {
24819
24819
  if (!states || states.length === 0) return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reserve-protocol/sdk",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Core TypeScript SDK for DTF interface integrations.",
5
5
  "keywords": [
6
6
  "dtf",