@smartcrab/browser 0.3.0 → 0.3.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartcrab/browser",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -27,7 +27,7 @@
27
27
  "access": "public"
28
28
  },
29
29
  "dependencies": {
30
- "@smartcrab/contracts-public": "0.3.0"
30
+ "@smartcrab/contracts-public": "0.3.1"
31
31
  },
32
32
  "devDependencies": {
33
33
  "typescript": "5.9.3",
@@ -467,7 +467,7 @@ describe("social sign-in (design.md §20, §22.3)", () => {
467
467
  const redirect: RedirectPort = { assign: (url) => assigned.push(url) };
468
468
  const { fetchPort } = createFetchStub(() =>
469
469
  jsonResponse(404, {
470
- type: "https://docs.example-auth.com/errors/not-found",
470
+ type: "https://docs.zeroword.smartcrab.ai/errors/not-found",
471
471
  title: "Not Found",
472
472
  status: 404,
473
473
  code: "not_found",
package/src/http.test.ts CHANGED
@@ -130,7 +130,7 @@ describe("requestJson — error normalization", () => {
130
130
 
131
131
  test("4xx Problem Details body maps to problem_details with code/title/status/requestId", async () => {
132
132
  const problem = {
133
- type: "https://docs.example-auth.com/errors/not-found",
133
+ type: "https://docs.zeroword.smartcrab.ai/errors/not-found",
134
134
  title: "Not Found",
135
135
  status: 404,
136
136
  detail: "transaction does not exist",