Comparing version 1.5.0 to 1.5.1
{ | ||
"name": "ziggy-js", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "Use your Laravel named routes in JavaScript.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -5,3 +5,3 @@ ![Ziggy - Use your Laravel named routes in JavaScript](https://raw.githubusercontent.com/tighten/ziggy/main/ziggy-banner.png) | ||
[![GitHub Actions Status](https://img.shields.io/github/workflow/status/tighten/ziggy/Tests?label=tests&style=flat)](https://github.com/tighten/ziggy/actions?query=workflow:Tests+branch:main) | ||
[![GitHub Actions Status](https://img.shields.io/github/actions/workflow/status/tighten/ziggy/test.yml?branch=main&style=flat)](https://github.com/tighten/ziggy/actions?query=workflow:Tests+branch:main) | ||
[![Latest Version on Packagist](https://img.shields.io/packagist/v/tightenco/ziggy.svg?style=flat)](https://packagist.org/packages/tightenco/ziggy) | ||
@@ -411,3 +411,3 @@ [![Downloads on Packagist](https://img.shields.io/packagist/dt/tightenco/ziggy.svg?style=flat)](https://packagist.org/packages/tightenco/ziggy) | ||
const response = await fetch('/api/ziggy'); | ||
const Ziggy = await response.toJson(); | ||
const Ziggy = await response.json(); | ||
@@ -414,0 +414,0 @@ // ... |
77522