Skip to content

Commit

Permalink
Update endpoint from .io to .com (#492)
Browse files Browse the repository at this point in the history
* Update endpoint from .io to .com

* Update url used in tests

* Tidy names and urls

* bump version

---------

Co-authored-by: Jeremy <[email protected]>
  • Loading branch information
darcythomas and Jeremy committed Jul 31, 2023
1 parent 90b500b commit c14ae5f
Show file tree
Hide file tree
Showing 16 changed files with 35 additions and 26 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- Replaced old company name
- Documentation points to 'new' url

### Changed

- Updated the Raygun url to send events to preferred ingestion endpoint

## v2.26.1 - 2023-07-12

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions V1Documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ Raygun.setFilterScope('customData'); // Just filter the custom data (default)

Raygun4JS now features source maps support through the transmission of column numbers for errors, where available. This is confirmed to work in recent version of Chrome, Safari and Opera, and IE 10 and 11. See the [Raygun souce maps documentation][sourcemaps] for more information.

[sourcemaps]: https://raygun.io/docs/workflow/source-maps
[sourcemaps]: https://raygun.com/docs/workflow/source-maps

### Offline saving

Expand Down Expand Up @@ -549,7 +549,7 @@ Due to browser API and security limitations, in cases where the message is 'Scri

For more information, check out this blog post on [CORS requirements for Script Errors].

[CORS requirements for Script Errors]: https://raygun.io/blog/2015/05/fix-script-error-and-get-the-most-data-possible-from-cross-domain-js-errors/
[CORS requirements for Script Errors]: https://raygun.com/blog/2015/05/fix-script-error-and-get-the-most-data-possible-from-cross-domain-js-errors/

## AngularJS

Expand Down
8 changes: 4 additions & 4 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "raygun4js",
"version": "2.26.1",
"homepage": "http://raygun.io",
"version": "2.26.2",
"homepage": "http://raygun.com",
"authors": [
"Mindscape <hello@raygun.io>"
"Mindscape <hello@raygun.com>"
],
"repository": {
"type": "git",
"url": "git://github.com/MindscapeHQ/raygun4js.git"
},
"description": "Official Raygun.io automatic error tracking plugin for JavaScript",
"description": "Official Raygun.com automatic error tracking plugin for JavaScript",
"main": "dist/raygun.js",
"keywords": [
"error",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
],
"title": "Raygun4js",
"description": "Raygun.com plugin for JavaScript",
"version": "2.26.1",
"version": "2.26.2",
"homepage": "https://github.com/MindscapeHQ/raygun4js",
"author": {
"name": "MindscapeHQ",
Expand Down
14 changes: 7 additions & 7 deletions raygun4js.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>raygun4js</id>
<version>2.26.1</version>
<version>2.26.2</version>
<title>Raygun4js</title>
<authors>Mindscape Limited</authors>
<owners>Mindscape Limited</owners>
<authors>Raygun Limited</authors>
<owners>Raygun Limited</owners>
<licenseUrl>https://raw2.github.com/MindscapeHQ/raygun4js/master/LICENSE</licenseUrl>
<projectUrl>http://raygun.io/raygun-providers/javascript</projectUrl>
<projectUrl>http://raygun.com/raygun-providers/javascript</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<summary>Official Raygun JavaScript module - automatic client-side error tracking for your web project</summary>
<description>Raygun4js is a tiny library that you can easily add to your website or web application, which will then let your site automatically transmit all Errors to your Raygun.io dashboard, where you can see the stack trace, environment data, custom data and more. Installation is painless, and configuring your site to transmit errors takes just a couple of minutes.</description>
<summary>Official Raygun JavaScript module - automatic client-side error tracking and Real User Monitoring for your web project</summary>
<description>Raygun4js is a tiny library that you can easily add to your website or web application, which will then let your site automatically transmit all Errors to your Raygun.com dashboard, where you can see the stack trace, environment data, custom data and more. Installation is painless, and configuring your site to transmit errors takes just a couple of minutes.</description>
<language>en-US</language>
<tags>raygun error tracking reporting logging</tags>
<tags>raygun error tracking reporting logging monitoring</tags>
</metadata>

<files>
Expand Down
2 changes: 1 addition & 1 deletion src/raygun.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ var raygunFactory = function(window, $, undefined) {
_groupingKeyCallback,
_beforeXHRCallback,
_afterSendCallback,
_raygunApiUrl = 'https://api.raygun.io',
_raygunApiUrl = 'https://api.raygun.com',
_excludedHostnames = null,
_excludedUserAgents = null,
_filterScope = 'customData',
Expand Down
2 changes: 1 addition & 1 deletion tests/specs/v1/eventsXhr.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
var _ = require('underscore');
var common = require('../common');

var _eventsEndpoint = 'https://api.raygun.io/events';
var _eventsEndpoint = 'https://api.raygun.com/events';

describe("XHR functional tests for /events with V1", function() {

Expand Down
2 changes: 1 addition & 1 deletion tests/specs/v1/payloadManualSendTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
var _ = require('underscore');
var common = require('../common');

var _entriesEndpoint = 'https://api.raygun.io/entries';
var _entriesEndpoint = 'https://api.raygun.com/entries';

describe("Payload functional validation tests for V1 manual send", function() {

Expand Down
2 changes: 1 addition & 1 deletion tests/specs/v1/payloadUnhandledErrorTests.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var webdriverio = require('webdriverio');
var _ = require('underscore');

var _entriesEndpoint = 'https://api.raygun.io/entries';
var _entriesEndpoint = 'https://api.raygun.com/entries';

describe("Payload functional validation tests for V1 automatic unhandled error sending", function() {

Expand Down
2 changes: 1 addition & 1 deletion tests/specs/v2/eventsXhr.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var webdriverio = require('webdriverio');
var _ = require('underscore');

var _eventsEndpoint = 'https://api.raygun.io/events';
var _eventsEndpoint = 'https://api.raygun.com/events';

describe("XHR functional tests for /events with V2", function() {

Expand Down
2 changes: 1 addition & 1 deletion tests/specs/v2/onBeforeSendRUM.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var webdriverio = require('webdriverio');
var _ = require('underscore');

var _eventsEndpoint = 'https://api.raygun.io/events';
var _eventsEndpoint = 'https://api.raygun.com/events';

describe('onBeforeSendRUM callback', function() {
it('lets you modify the payload before sending', async function() {
Expand Down
2 changes: 1 addition & 1 deletion tests/specs/v2/payloadManualSendTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
var _ = require('underscore');
var common = require('../common');

var _entriesEndpoint = 'https://api.raygun.io/entries';
var _entriesEndpoint = 'https://api.raygun.com/entries';

describe("Payload functional validation tests for V2 manual send", function() {

Expand Down
2 changes: 1 addition & 1 deletion tests/specs/v2/payloadSyntaxError.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var webdriverio = require('webdriverio');
var _ = require('underscore');

var _entriesEndpoint = 'https://api.raygun.io/entries';
var _entriesEndpoint = 'https://api.raygun.com/entries';

describe("Payload functional validation tests for V2 syntax error caught with the Snippet", function() {

Expand Down
2 changes: 1 addition & 1 deletion tests/specs/v2/payloadUnhandledErrorTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ var webdriverio = require('webdriverio');
var _ = require('underscore');
var common = require('../common');

var _entriesEndpoint = 'https://api.raygun.io/entries';
var _entriesEndpoint = 'https://api.raygun.com/entries';

describe("Payload functional validation tests for v2 automatic unhandled error sending", function() {

Expand Down
2 changes: 1 addition & 1 deletion tests/specs/v2/rg4jsLoaderTests.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var webdriverio = require('webdriverio');
var _ = require('underscore');

var _entriesEndpoint = 'https://api.raygun.io/entries';
var _entriesEndpoint = 'https://api.raygun.com/entries';

describe("Functional tests for rg4js() calls to ensure they are executed by the loader", function() {

Expand Down

0 comments on commit c14ae5f

Please sign in to comment.